Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix tile animation logic to use correct time per frame #2345

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

rh101
Copy link
Contributor

@rh101 rh101 commented Jan 21, 2025

Describe your changes

Tile animation code would display a frame using the timing of the next frame in the series, which is not correct.

The changes in this PR ensures that the currently displayed frame is displayed using the correct frame time.

Issue ticket number and link

Discussion #2344

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

@halx99 halx99 merged commit 336af86 into axmolengine:dev Jan 21, 2025
15 checks passed
@halx99 halx99 added this to the next milestone Jan 21, 2025
@rh101 rh101 deleted the fix-tileset-frame-timing branch January 21, 2025 22:40
@halx99 halx99 modified the milestones: next, 2.3.3 Jan 22, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants