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 texture animation #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix for texture animation #35

wants to merge 1 commit into from

Conversation

davidlyons
Copy link

When a texture animation has multiple rows, like the explosion boomer, it was cycling through the frames in the wrong order. This fix starts with the top row and moves down, instead of starting with the bottom row and moving up. Tile 0 is now the top left, rather than the bottom left.

When a texture animation has multiple rows, like the explosion boomer, it was cycling through the frames in the wrong order. This fix starts with the top row and moves down, instead of starting with the bottom row and moving up. Tile 0 is now the top left, rather than the bottom left.
@jachwe
Copy link

jachwe commented Feb 11, 2018

I think it should be optionalized since it makes sense in the GL World to go y up rather then down. Although i totally agree that most sprite generators do not work that way, which also makes sense in their own context.

But thank you for putting it out there. I actually had the same problem.

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.

None yet

2 participants