Falling Animation

BindOnAccount

  • Posts: 33
I am using the Mambo Jump behavior. How could I edit that one to make it so I can have a falling animation?

gruffman

  • *
  • Posts: 564
I would set it up so y is always compared to what it was moments ago. From that you can tell if the player seems to be moving down. Maybe if it is going down for more than 5 pixels, switch animation to falling.
Now available for all Android Devices - Happy Face Concentration
My Games To Date
Find A Face / Hero Of Oda / Snakes And Ladders
Hungry Monkey available at fgl.com for Sponsorship
My site - Gruffgames.com

Photon

  • Posts: 2691
You might also be interested in just checking to see if "y-speed > 0" (falling down).
Do NOT PM me your questions, because I likely will not respond. If I have replied to your question on the forum, keep using that topic. Thanks!