neonwarge04 Posted September 17, 2015 Share Posted September 17, 2015 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? Thanks! Quote Link to comment Share on other sites More sharing options...
xerver Posted September 17, 2015 Share Posted September 17, 2015 http://pixijs.github.io/docs/PIXI.extras.MovieClip.html#gotoAndStopmovieClip.gotoAndStop(0); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.