Jump to content

How to get current frame of paused animation?


Recommended Posts

Hello, I'm defining a looped animation of several frames. My game logic requires that I pause the animation and do some logic based on whatever frame I'm on.

If not paused, 


gives me the right frame aka CustomAnimation000X,
however, if the animation is paused, it always gives me CustomAnimation0000, even if the frame drawn is CustomAnimation0008 for example.

Any one can help me be able to pause an animation and get the frame I'm on? I pause/resume with 

this.animations.currentAnim.paused = true/false
Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...