next(quantity) Advances by the given number of frames in the Animation, taking the loop value into consideration
game : Phaser.Game A reference to the currently running Game
x : number X position within the image to cut from. Source code:
onStart : Phaser.Signal This event is dispatched when
<static> JSONData(game, json) → {
frame : number Gets or sets the current frame index and updates the Texture Cache for display.
getFrame(index) → {Phaser.Frame}
updateFrameData(frameData) Changes the FrameData object this Animation is using. Parameters
delay : number The delay in ms between each frame of the Animation, based on the given frameRate.
loopCount : number The number of times the animation has looped since it was last started.
Page 1 of 11