Double jumping is tricky because we have to prevent the player from flying or floating by continually pressing jump in the air.
Double jumping is tricky because we have to prevent the player from flying or floating by continually pressing jump in the air.
To do this we will limit the player to ONE double-jump.
To do this we will limit the player to ONE double-jump.
This will reset when they touch the floor again.
This will reset when they touch the floor again.