Skip to content

Flip texture also for animation #1917

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

Merged

Conversation

vanicat
Copy link
Contributor

@vanicat vanicat commented Oct 2, 2023

Move the code that flip texture for fixed sprite to a function. Apply this function on animated texture.

Fix #1916

Move the code that flip texture for fixed sprite to a function.
Apply this fuction on animated texture.

Fix pythonarcade#1916
Copy link
Member

@Cleptomania Cleptomania left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine other than needing the type definitions on the new function.

@vanicat vanicat requested a review from Cleptomania October 2, 2023 22:26
@Cleptomania Cleptomania merged commit bdbf121 into pythonarcade:development Oct 3, 2023
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.

Animated sprite in tiled map are not fliped as they should
2 participants