Text#removeChildren()
  • References/Game Development/Phaser/Text/Text

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes.

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

body : Phaser.Physics.Arcade.Body |

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

health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.

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

centerY : number The center y coordinate of the Game Object.This is the same as (y - offsetY) + (height / 2)

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

play(name, frameRate, loop, killOnComplete) → {

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

damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero

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

inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a

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

key : string | Phaser.RenderTexture |

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

boundsAlignV : string Vertical alignment of the text within the textBounds. Can be: 'top', 'middle' or 'bottom'.

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

lineSpacing : number Additional spacing (in pixels) between each line of text if multi-line.

2025-01-10 15:47:30