Skip to content

Changes animations quickly will stall the animation #41

Description

@FastestMolasses

Typically, spritesheets will have rows that represent different directions of the same sprite with the same animation. With this library, each direction of the sprite's animation would be in a new animation clip. As a result, when switching between the directions of the animation, despite being the same animation type, the animation will stall and not progress.

Image

The issue stems from setting the accumulated_time of the AnimationInstance back to zero when the animation changes. A proposed change will be to group the different directions of an animation to be able to determine whether to reset the accumulated_time or to leave it be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions