Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » double jump trouble
- hunteroftheforest
-
Scratcher
37 posts
double jump trouble
Project—- https://scratch.mit.edu/projects/529720355/
I'm making a game that involves doublejumping and gravity flipping. i figured out some bugs but cant find out how to fix the double jumping. I've tried many ways to limit the double jump with code and variables i already have but i haven't had any luck. the main issue is either you have to sit still to be able to double jump again or you can jump more than once after jumping the first time. If you so decide please tell me a possible way i could fix it please.
I'm making a game that involves doublejumping and gravity flipping. i figured out some bugs but cant find out how to fix the double jumping. I've tried many ways to limit the double jump with code and variables i already have but i haven't had any luck. the main issue is either you have to sit still to be able to double jump again or you can jump more than once after jumping the first time. If you so decide please tell me a possible way i could fix it please.
- TheAnomalousPseudo
-
Scratcher
1000+ posts
double jump trouble
Your problem is with your player modes. It is still falling when you've hit the ground but haven't released “a” or “d.”
- hunteroftheforest
-
Scratcher
37 posts
double jump trouble
Your problem is with your player modes. It is still falling when you've hit the ground but haven't released “a” or “d.”Yah that is one of the issues i havent figured out how to fix
- Thingied
-
Scratcher
1000+ posts
double jump trouble
You can make double jumping by counting the amount of jumps done and reset the variable when you touch the ground.


- Discussion Forums
- » Help with Scripts
-
» double jump trouble


