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 Tilesheet Frame and Time #204

Merged
merged 2 commits into from Jan 9, 2024
Merged

Conversation

QuantumCoderQC
Copy link
Contributor

This PR fixes two issues.

  1. When the tilesheet animation is played, the animation time was not reset to 0, causing the first tilesheet animation frame to be of arbitrary duration. This led to inconsistent animation playback.
  2. When looping was enabled, the last frame of the animation was not played. It instead immediately looped back to the first frame.

Thanks to user d1csord on Discord for reporting the issue and testing the fix.

@luboslenco luboslenco merged commit f4fd0b2 into armory3d:main Jan 9, 2024
1 check failed
@QuantumCoderQC QuantumCoderQC deleted the fix-tilesheet branch March 9, 2024 14:29
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