You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function header has this to say about the frame parameter
/** * Plays an animation. * @param name Name of the animation to play. * @param reset If the animation should force-restart if it is already playing. * @param frame Frame of the animation to start from, if restarted. * @return Anim object representing the played animation. */
However, it does not work. The function sets the current frame, but does not set the index into the animation.
Line 132 of Spritemap.as should read _index = frame % _anim._frameCount;
The text was updated successfully, but these errors were encountered:
The function header has this to say about the frame parameter
/** * Plays an animation. * @param name Name of the animation to play. * @param reset If the animation should force-restart if it is already playing. * @param frame Frame of the animation to start from, if restarted. * @return Anim object representing the played animation. */
However, it does not work. The function sets the current frame, but does not set the index into the animation.
Line 132 of Spritemap.as should read _index = frame % _anim._frameCount;
The text was updated successfully, but these errors were encountered: