Skip to content

"animating" boolean unaware of ended loop? #75

Description

@oaklandgit

Hi,

I am trying to detect when an animation sequence is complete.

This doesn't work, for example, if I use it in my game loop:

console.log(mySprite.animating);

it will always log "true" even after the sequence has ended. (I am using mySprite.loop = false);

I read through the docs and code. Is there a prescribed way to detect when an animation sequence has completed? Such as a callback perhaps?

Thank you!

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