In Stickman's Quest (v. 1.3), I fixed a bug that causes the player to jump even if they fall off of the platform, but if you hold the jump button, it flies up. Can anyone help me?
~~Firedrake969
Offline
make the variable "jumping" then add this to the beginning of your jump script: set jumping to 1, then add set jumping to 0 at the end of the jump script then go to the gravity script and insert if jumping = 0 then gravity. This will allow you to jump. Next in the jumping at the top put if y velocity = 0 jump. This way the character can't jump unless the velocity is 0 which only happens once you've landed.
Offline
How about if touching color ____, or sprite ___?
Offline