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

game : Phaser.Game A reference to the currently running Game

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

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

new Sprite(game, x, y, key, frame) Sprites are the lifeblood of your game, used for nearly everything visual. At its most basic

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

animations : Phaser.AnimationManager

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

preUpdate() → {boolean} Automatically called by World.preUpdate. Returns

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

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

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

scaleMin : Phaser.Point The minimum scale this Game

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

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

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