Image#fresh
  • References/Game Development/Phaser/Display/Image

[readonly] fresh : boolean A Game Object is considered fresh if it has just been

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

centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)

2025-01-10 15:47:30
Image#play()
  • References/Game Development/Phaser/Display/Image

play(name, frameRate, loop, killOnComplete) → {

2025-01-10 15:47:30
Image#renderOrderID
  • References/Game Development/Phaser/Display/Image

[readonly] renderOrderID : number The render order ID is used internally by the renderer and

2025-01-10 15:47:30
Image#offsetY
  • References/Game Development/Phaser/Display/Image

[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate

2025-01-10 15:47:30
Image#width
  • References/Game Development/Phaser/Display/Image

width : number The width of the sprite, setting this will actually modify the scale to achieve the value set

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

frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the

2025-01-10 15:47:30
Image#loadTexture()
  • References/Game Development/Phaser/Display/Image

loadTexture(key, frame, stopAnimation) Changes the base texture the Game

2025-01-10 15:47:30
Image#key
  • References/Game Development/Phaser/Display/Image

key : string | Phaser.RenderTexture |

2025-01-10 15:47:30
Image#lifespan
  • References/Game Development/Phaser/Display/Image

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born'

2025-01-10 15:47:30