Sprite#damage
  • References/Game Development/Phaser/Display/Sprite

damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero

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

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

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.

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

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

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

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

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

cameraOffset : Phaser.Point The x/y coordinate offset

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

swap(child1, child2) Swaps the position of two children in this group. Both children must be in this group, a child cannot be

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

fixedToCamera : boolean A Game Object that is "fixed" to the camera uses its x/y coordinates as offsets from the top left of the

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

frameName : string Gets or sets the current frame name of the texture being used to render this Game Object. To change the

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

[readonly] destroyPhase : boolean As a Game Object runs through its destroy method this flag

2025-01-10 15:47:30