OptionaldefaultOptionaldelayDelay before starting playback. Value given in milliseconds.
OptionaldurationHow long the animation should play for in milliseconds. If not given its derived from frameRate.
OptionalframeThe frame rate of playback in frames per second (default 24 if duration is null)
OptionalframesEither a string, in which case it will use all frames from a texture with the matching key, or an array of Animation Frame configuration objects.
OptionalhideShould sprite.visible = false when the animation finishes?
OptionalkeyThe key that the animation will be associated with. i.e. sprite.animations.play(key)
OptionalrandomStart playback of this animation from a randomly selected frame?
OptionalrepeatNumber of times to repeat the animation (-1 for infinity)
OptionalrepeatDelay before the animation repeats. Value given in milliseconds.
OptionalshowIf this animation has a delay, should it show the first frame immediately (true), or only after the delay (false)
OptionalshowShould sprite.visible = true when the animation starts to play? This happens after any delay, if set.
OptionalskipSkip frames if the time lags, or always advanced anyway?
OptionalsortIf you provide a string for frames you can optionally have the frame names numerically sorted.
OptionalyoyoShould the animation yoyo? (reverse back down to the start) before repeating?
The key of the texture all frames of the animation will use. Can be overridden on a per frame basis.