new Animation(game, parent, name, frameData, frames, frameRate, loop) An
<static> spriteSheet(game, key, frameWidth, frameHeight, frameMax, margin
loop : boolean The loop state of the Animation. Source code:
<static> generateFrameNames(prefix, start, stop, suffix, zeroPad)
isLoaded : boolean Set to true once animation data has been loaded. Source
refreshFrame() Refreshes the current frame data back to the parent Sprite and also resets the texture data.
isFinished : boolean The finished state of the Animation. Set to true once playback completes, false during playback.
new FrameData() FrameData is a container for Frame objects, which are the internal representation of animation data in Phaser.
centerX : number Center X position within the image to cut from. Source code:
getFrames(frames, useNumericIndex, output) → {Array}
Page 10 of 11