dauzy Posted July 21, 2016 Share Posted July 21, 2016 Is there a way to somehow slow down the animation speed of a MovieClip object? There doesn't seem to be anything in the documentation. I'm also open to hacky solutions, just as long as I can slow the the animation of the MovieClip. Thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 21, 2016 Share Posted July 21, 2016 movieClip.animationSpeed = 0.5; //2 times slower also you can specify "movieClip._durations" which has to be an array with same number of elements as frames. Quote Link to comment Share on other sites More sharing options...
dauzy Posted July 22, 2016 Author Share Posted July 22, 2016 Omg thanks! I'm sooooo blind, it was in the documentation after all. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 22, 2016 Share Posted July 22, 2016 Next time look in the sources, https://github.com/pixijs/pixi.js/blob/dev/src/extras/MovieClip.js . It's easy to miss something in docs, but in the code it's shining like a christmas tree. PIXI sources are human-readable, its not perl, its javascript 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.