RetroFont#smoothed
  • References/Game Development/Phaser/Text/RetroFont

smoothed : boolean Sets if the stamp is smoothed or not. Source code:

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

trim :Rectangle The texture trim data. Inherited From

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

getImage() → {Image} Will return a HTML Image of the texture Returns

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

[static] TEXT_SET2 : string Text Set 2 = !"#$%&'()*+,-./0123456789:;<=>?@ABCDEF

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

buildRetroFontText() Updates the texture with the new text. Source code:

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

[static] TEXT_SET11 : string Text Set 11 = ABCDEFGHIJKLMNOPQRSTUVWXYZ.,"-+!?()':;0123456789

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

fixedWidth : number If you need this RetroFont image to have a fixed width you can set the width in this value.If text is

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

renderRawXY(displayObject, x, y, clear) This function will draw the display object to the RenderTexture

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
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