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 for hat sprite desync #1755

Merged
merged 3 commits into from
Aug 30, 2021
Merged

Fix for hat sprite desync #1755

merged 3 commits into from
Aug 30, 2021

Conversation

weluvgoatz
Copy link
Member

This pull request fixes the bug when swimming where the powerup hats would desync from the body when collected, producing an odd jittering animation. I made it to where the hat sprite is forced into the same frame and frame progress as the body, but only when they share the same amount of frames in order to avoid bugs with other actions. Also, this has been applied only to the player. It would close #1719.

@weluvgoatz weluvgoatz added this to In-progress in Miscellaneous Tasks Aug 2, 2021
@tobbi
Copy link
Member

tobbi commented Aug 29, 2021

Is this good to go?

@weluvgoatz
Copy link
Member Author

Yes, it has been for quite a while.

@tobbi tobbi merged commit 5f0bcac into SuperTux:master Aug 30, 2021
Miscellaneous Tasks automation moved this from In-progress to Done Aug 30, 2021
@weluvgoatz weluvgoatz removed this from Done in Miscellaneous Tasks Oct 25, 2021
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

Successfully merging this pull request may close these issues.

Hat sprite desyncs when collecting powerup
2 participants