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

align : string Controls the horizontal alignment for multiline text.Can be: 'left', 'center' or 'right'.Does not affect

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

crop :Rectangle This is the area of the BaseTexture image to actually copy to the Canvas / WebGL when rendering,irrespective

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

new RetroFont(game, key, characterWidth, characterHeight, chars, charsPerRow, xSpacing, ySpacing

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

frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the

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

shadowOffsetY : number The shadowOffsetY value in pixels. This is how far offset vertically the shadow effect will be.

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

stroke : string A canvas fillstyle that will be used on the text stroke eg 'blue', '#FCFF00'.

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

addChildAt(child, index) → {DisplayObject}

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

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting

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

blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode. Warning:

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

autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame

2025-01-10 15:47:30