Jump Help
I was having trouble with jumping. I made a button so that my actor would jump when pressed. When ever i touched the button it would jump to my liking but once i tapped it twice it made it double jump and triple jump
. Here are the rules i set it too.
Hero Rules:
game.jump is true
self.motion.linear velocity.Y to 500
Jump Button:
actor receives event touched pressed
game.jump is true
otherwise: game.jump is false
Thanks!
Hero Rules:
game.jump is true
self.motion.linear velocity.Y to 500
Jump Button:
actor receives event touched pressed
game.jump is true
otherwise: game.jump is false
Thanks!
Comments
When I hold down the space bar, it doesn't reset the game.jumps when the actor hits the floor and keeps allowing it to jump. Any thoughts?