Double Jump Issue HELP
kajuto
Member Posts: 314
Hi there everyone! i recently in my project i did the actor jump infinite time, every time i pressed the jump button, but how can i limit it to maximum 2 jumps, not 3, nor 4, ect....
Hero Actor:
Att game.jump.button is true
Att game.doubleJump less equal than 2
Change Att
motionlinearvelocityY to 450
Jump Button:
when Touch is pressed
when Mouse Position is inside
Change Att
game.jump.button to true
Otherwise:
Change Att
game.jump.button to false
i want the hero actor to jump maximum 2 time ...Thanks in advance
Hero Actor:
Att game.jump.button is true
Att game.doubleJump less equal than 2
Change Att
motionlinearvelocityY to 450
Jump Button:
when Touch is pressed
when Mouse Position is inside
Change Att
game.jump.button to true
Otherwise:
Change Att
game.jump.button to false
i want the hero actor to jump maximum 2 time ...Thanks in advance
Answers
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User