Text#centerX
  • References/Game Development/Phaser/Text/Text

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
Text#precalculateWordWrap()
  • References/Game Development/Phaser/Text/Text

precalculateWordWrap(text) → {array} Runs the given text through the Text.runWordWrap function and

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

loadTexture(key, frame, stopAnimation) Changes the base texture the Game

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

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

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

events : Phaser.Events All Phaser Game Objects

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

[readonly] offsetY : number If the font set doesn't start at the top left of the given image

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

key : string The key of the RenderTexture in the Cache, if stored there. Inherited

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

removeChild(child) → {DisplayObject}

2025-01-10 15:47:30
BitmapText#getChildAt()
  • References/Game Development/Phaser/Text/BitmapText

getChildAt(index) → {DisplayObject}

2025-01-10 15:47:30
BitmapText#removeChild()
  • References/Game Development/Phaser/Text/BitmapText

removeChild(child) → {DisplayObject}

2025-01-10 15:47:30