Frame#index
  • References/Game Development/Phaser/Animation/Frame

index : number The index of this Frame within the FrameData set it is being added to.

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

sourceSizeH : number Height of the original sprite before it was trimmed. Source

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

rotationDirection : string Either 'cw' or 'ccw', rotation is always 90 degrees. Default

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

x : number X position within the image to cut from. Source code:

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

spriteSourceSizeW : number Width of the trimmed sprite. Source code:

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#currentFrame
  • References/Game Development/Phaser/Animation/Animation

currentFrame : Phaser.Frame The currently displayed

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

paused : boolean Gets and sets the paused state of this Animation. Source

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

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

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

getFrameByName(name) → {Phaser.Frame}

2025-01-10 15:47:30