Jump to content
  • 0

shake animation


Question

Posted

Does anyone knows how to make shake animations? i'm looking to shake the screen periodically or after a certain amount on seconds.  This will be used for a screenpack

 

Thanks

3 answers to this question

Recommended Posts

  • 0
Posted

for a screenpack?

thats different.

 

its all in the animation

 

you just basically move the frame of animation up or down, a few pixels for the animation.

 

[begin Action 190] ;P2 Team mode cursor 190,0, 0,0, 50 190,0,-1,0, 1 190,0,-2,0, 1 190,0,-3,0, 1 190,0,-2,0, 1 190,0,-1,0, 1 190,0,0,0, 1

190,0,1,0, 1 190,0,2,0, 1 190,0,3,0, 1 190,0,2,0, 1 190,0,1,0, 1

 

See here? The background is still for 50 ticks. then it moves up to -3, then down to +3, really quickly. it simulates a shake.

- Characters -  / - Stages - / - Screenpacks - / - Lifebars - / - Fonts - / - Full Games - / - Templates -

 

  • 0
Posted

 found this code

 

500,0, 0,0, 3
500,0, 10,0, 3
500,0, 0,10, 3
500,0, -10,0, 3
 
But i need to be able to stop the loop for x.seconds then start over finish and pause I want to simulate a bomb dropped so i dont want it to loop to frequent.  Please help me with this code.
 
Thanks
  • 0
Posted

Ok got it.. I see how to keep the background still for a couple of seconds!  by adjusting the timing looks more realistic now

 

Thanks for your help

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...