Infinite Jump problem
![TopoftheTemple](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I have a jump mechanic, complete with a jump button, but players can keep pressing the button and jumping as many times as they want, in essence creating an infinite jump. I put a wall to prevent the actor from going off screen, but if anyone has a smoother method for a jump mechanic, any help would be much appreciated.
Thanks.
Thanks.
Answers
Then ad a rule:
When actor collides with a ground platform
Grounded is true
otherwise
grounded is false.
Then on your jump rule:
when all conditions are vallid
ad a condition: when grounded is true.
and a condition when self.motion.lineair velocity.Y is 0
I got this from the platform template in the creator.
Good luck!
Lump Apps and My Assets
Every 5 seconds,
if (jump button) pressed,
move up.