Pages: 1
Topic closed
Is there any way to make an effective double jump for a sprite in a game? I haven't found any simple tutorials.
Offline
Make a variable, set it to zero whenever the sprite is touching the ground, then when you jump, set it to one, then set it to two when you double jump, and don't let it jump if that variable is two.
so if <variable > 1>else(jumping script)