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

setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by

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

anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top

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

texture : PIXI.Texture The texture that the

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

revive(health) → {PIXI.DisplayObject} Brings a 'dead' Game Object

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

sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display

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

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters

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

reset(x, y, health) → {PIXI.DisplayObject} Resets the Game Object

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

bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.

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

getBounds(matrix) → {Rectangle} Returns the bounds of the Sprite as a rectangle.The bounds

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

alignTo(parent, position, offsetX, offsetY) → {Object}

2025-01-10 15:47:30