Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double jumping #20

Closed
gDiode opened this issue Jul 26, 2015 · 1 comment
Closed

double jumping #20

gDiode opened this issue Jul 26, 2015 · 1 comment

Comments

@gDiode
Copy link

gDiode commented Jul 26, 2015

it's really inconsistent:
if you spam the jump key it will create a huge jump
but if you wait the jump the second will almost do nothing or just slow down the character.
how to solve this?
each time the player uses a double jump you could reset the y acceleration so this doesn't occur
here's a video showing the bug:
https://youtu.be/djn0wGx8q5c

@james7132
Copy link
Member

The jumping currently works by adding a relative amount to upward momentum. This should be easily fixed in an upcoming commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants