All Questions
Tagged with jumping javascript
4 questions
0
votes
1
answer
217
views
Setting a jump counter in my 2d platformer built with phaser
I have a platforming game, written in javascript with the Phaser.js framework, where my character collects objects. I thought trying to collect all objects in the least amount of jumps would be ...
1
vote
1
answer
2k
views
How do I make my character jump on a platform?
This is the code I've written so far:
Html:
...
0
votes
2
answers
286
views
Why does the player jump every time it touches the ground in my JavaScript game?
I am making a javascript game where the player jumps over oncoming cars, but after the first jump every time the player hits the ground they jump again automatically. I believe the problem is because ...
7
votes
1
answer
4k
views
Jump handling and gravity
I'm new to game development and am looking for some help on improving my jump handling for a simple side scrolling game I've made. I would like to make the jump last longer if the key is held down ...