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

new FrameData() FrameData is a container for Frame objects, which are the internal representation of animation data in Phaser.

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

<static> JSONDataPyxel(game, json) → {

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

isFinished : boolean The finished state of the Animation. Set to true once playback completes, false during playback.

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

isReversed : boolean Indicates if the animation will play backwards. Source

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

spriteSourceSizeH : number Height of the trimmed sprite. Source code:

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

getFrames(frames, useNumericIndex, output) → {Array}

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

stop(resetFrame, dispatchComplete) Stops playback of this animation and

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

[readonly] frameTotal : number The total number of frames in the currently loaded FrameData

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

new Animation(game, parent, name, frameData, frames, frameRate, loop) An

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

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

2025-01-10 15:47:30