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

Fix the animation loop for jumping #7

Open
rlyshw opened this issue Apr 9, 2018 · 1 comment
Open

Fix the animation loop for jumping #7

rlyshw opened this issue Apr 9, 2018 · 1 comment

Comments

@rlyshw
Copy link
Contributor

rlyshw commented Apr 9, 2018

So the way I tried to ensure that the entire jump animation plays was to compare the new action in the view update with the previous action. This works to some extent, but hitting a wall and turning around counts as a new action as well. This causes some buggy behavior if you press the jump button while near the wall.

@rlyshw rlyshw changed the title Fix the animation loop Fix the animation loop for jumping Apr 9, 2018
@rlyshw
Copy link
Contributor Author

rlyshw commented Apr 9, 2018

Solutions might be along the lines of checking to see if the new animation is a jump and only reset there.

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

1 participant