Image#getLocalBounds()
  • References/Game Development/Phaser/Display/Image

getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle

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

getChildAt(index) → {DisplayObject}

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
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#type
  • References/Game Development/Phaser/Display/Image

[readonly] type : number The const type of this object.

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

scaleMin : Phaser.Point The minimum scale this Game

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#update()
  • References/Game Development/Phaser/Display/Image

update() Override this method in your own custom objects to handle any update requirements.It is called immediately after preUpdate

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#loadTexture()
  • References/Game Development/Phaser/Display/Image

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

2025-01-10 15:47:30