Animation#frame
  • References/Game Development/Phaser/Animation/Animation

frame : number Gets or sets the current frame index and updates the Texture Cache for display.

2025-01-10 15:47:30
Animation#delay
  • References/Game Development/Phaser/Animation/Animation

delay : number The delay in ms between each frame of the Animation, based on the given frameRate.

2025-01-10 15:47:30
Animation#updateFrameData()
  • References/Game Development/Phaser/Animation/Animation

updateFrameData(frameData) Changes the FrameData object this Animation is using. Parameters

2025-01-10 15:47:30
FrameData#total
  • References/Game Development/Phaser/Animation/FrameData

[readonly] total : number The total number of frames in this FrameData set.

2025-01-10 15:47:30
Animation#next()
  • References/Game Development/Phaser/Animation/Animation

next(quantity) Advances by the given number of frames in the Animation, taking the loop value into consideration

2025-01-10 15:47:30
AnimationParser.JSONData()
  • References/Game Development/Phaser/Animation/AnimationParser

<static> JSONData(game, json) → {

2025-01-10 15:47:30
FrameData#getFrame()
  • References/Game Development/Phaser/Animation/FrameData

getFrame(index) → {Phaser.Frame}

2025-01-10 15:47:30
AnimationManager#updateIfVisible
  • References/Game Development/Phaser/Animation/AnimationManager

updateIfVisible : boolean Should the animation data continue to update even if the Sprite.visible is set to false.

2025-01-10 15:47:30
Frame#centerY
  • References/Game Development/Phaser/Animation/Frame

centerY : number Center Y position within the image to cut from. Source code:

2025-01-10 15:47:30
Frame#right
  • References/Game Development/Phaser/Animation/Frame

right : number The right of the Frame (x + width). Source code:

2025-01-10 15:47:30