Skip to main content
Participant
June 21, 2006
Question

How can I create a bounce effect against the floor for movieclips with different (end) y-positions?

  • June 21, 2006
  • 1 reply
  • 136 views
Hi,

I have some movieclips I want to move with a bounce effect.
First I wanted to do that with the tween class. But I want to be able to define de bounce-effect itself.
My movieclips have different ending y-positions but I want them all to bounce against the "floor".
Can anyone help me with this?
This topic has been closed for replies.

1 reply

June 21, 2006
Make the floor a movieclip or put a clear movieclip over the floor. Use hitTest to catch when they hit the floor. Note your floor has to be larger than the largest deltaY or it's possible to completely miss the floor and move right off the stage.