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

texture : PIXI.Texture The texture that the

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

[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera

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

world : Phaser.Point The world coordinates of this

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

moveUp() → {PIXI.DisplayObject} Moves this Game Object up one place in its parents display list

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

blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode. Warning:

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

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

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

centerX : number The center x coordinate of the Game Object.This is the same as (x - offsetX) + (width / 2)

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

setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy

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

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

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

top : number The y coordinate of the Game Object.This is the same as y - offsetY.

2025-01-10 15:47:30