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

maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensure

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

[readonly] length : integer Total number of children in this group, regardless of exists/alive

2025-01-10 15:47:30
TweenManager#TweenManager
  • References/Game Development/Phaser/Tweens/TweenManager

new TweenManager(game) Phaser.Game has a single instance of the TweenManager through which all Tween objects are created and updated

2025-01-10 15:47:30
SoundManager#setTouchLock()
  • References/Game Development/Phaser/Sound/SoundManager

setTouchLock() Sets the Input Manager touch callback to be SoundManager.unlock.Required for iOS audio device unlocking. Mostly

2025-01-10 15:47:30
Loader#setPreloadSprite()
  • References/Game Development/Phaser/Loader/Loader

setPreloadSprite(sprite, direction) Set a Sprite to be a "preload" sprite by passing it to this method

2025-01-10 15:47:30
Tilemap#setCollision()
  • References/Game Development/Phaser/Tilemaps/Tilemap

setCollision(indexes, collides, layer, recalculate)

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

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

2025-01-10 15:47:30
SoundManager#decode()
  • References/Game Development/Phaser/Sound/SoundManager

decode(key, sound) Decode a sound by its asset key. Parameters

2025-01-10 15:47:30
BaseTexture#width
  • References/Game Development/Phaser/PIXI/PIXI.BaseTexture

[readonly] width : number [read-only] The width of the base texture set when the image has

2025-01-10 15:47:30
Sound#duration
  • References/Game Development/Phaser/Sound/Sound

duration : number The duration of the current sound marker in seconds. Source

2025-01-10 15:47:30