Jump to content

How to reset the animation to original state? PIXI.MovieClip


Recommended Posts

So I am using the MovieClip to manage my sprite animation. Everytime I press a button the MovieClip leafs through the sprite array, thus animating the actor. This can be pretty trivial. But when I stop pressing the button, the animation just stops. This can be nice. But somehow I need to return the texture back its original state when I stopped pressing the button.

I check the documentation for PIXI but I can't seem to find such method or variable.


Has anyone tried this yet?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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