Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants