d13 Posted July 19, 2015 Share Posted July 19, 2015 Hello! I didn't notice the MovieClip `currentFrame` property in Pixi's docs: http://pixijs.github.io/docs/PIXI.extras.MovieClip.html#animationSpeed Does anyone know if it's been deprecated or if there's another property that should be used in its place? Quote Link to comment Share on other sites More sharing options...
bubamara Posted July 20, 2015 Share Posted July 20, 2015 looking at source code, there still is currentFrame /** * The MovieClips current frame index * * @member {number} * @memberof PIXI.MovieClip# * @readonly */ currentFrame: { get: function () { return Math.floor(this._currentTime) % this._textures.length; } } d13 1 Quote Link to comment Share on other sites More sharing options...
d13 Posted July 20, 2015 Author Share Posted July 20, 2015 Great, thanks!I guess the API docs must be incomplete.I've also notice that they're missing the MovieClip `onComplete` method and the `textures` property. 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.