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

[readonly] textBounds : Phaser.Rectangle

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

width : number The width of the Text. Setting this will modify the scale to achieve the value requested.

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

alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components

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

[readonly] deltaY : number Returns the delta y value. The difference between world.y now and

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

bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.

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

cameraOffset : Phaser.Point The x/y coordinate offset

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

height : number The height of the Text. Setting this will modify the scale to achieve the value requested.

2025-01-10 15:47:30
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#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