Phaser API Documentation

  Version: 
Filter
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Namespace: RetroFont
Phaser.GameObjects.RetroFont

Members

<static> TEXT_SET1: string
Focus
Focus

Description:

Text Set 1 = !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET10: string
Focus
Focus

Description:

Text Set 10 = ABCDEFGHIJKLMNOPQRSTUVWXYZ

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET11: string
Focus
Focus

Description:

Text Set 11 = ABCDEFGHIJKLMNOPQRSTUVWXYZ.,"-+!?()':;0123456789

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET2: string
Focus
Focus

Description:

Text Set 2 = !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET3: string
Focus
Focus

Description:

Text Set 3 = ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET4: string
Focus
Focus

Description:

Text Set 4 = ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET5: string
Focus
Focus

Description:

Text Set 5 = ABCDEFGHIJKLMNOPQRSTUVWXYZ.,/() '!?-*:0123456789

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET6: string
Focus
Focus

Description:

Text Set 6 = ABCDEFGHIJKLMNOPQRSTUVWXYZ!?:;0123456789"(),-.'

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET7: string
Focus
Focus

Description:

Text Set 7 = AGMSY+:4BHNTZ!;5CIOU.?06DJPV,(17EKQW")28FLRX-'39

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET8: string
Focus
Focus

Description:

Text Set 8 = 0123456789 .ABCDEFGHIJKLMNOPQRSTUVWXYZ

Type:
string
Since: 3.6.0
Focus
Focus
<static> TEXT_SET9: string
Focus
Focus

Description:

Text Set 9 = ABCDEFGHIJKLMNOPQRSTUVWXYZ()-0123456789.:,'"?!

Type:
string
Since: 3.6.0
Focus
Focus

Methods

<static> Parse(scene, config)
Focus
Focus

Description:

Parses a Retro Font configuration object so you can pass it to the BitmapText constructor and create a BitmapText object using a fixed-width retro font.

Parameters:

name type description
scene Phaser.Scene

A reference to the Phaser Scene.

config Phaser.Types.GameObjects.BitmapText.RetroFontConfig

The font configuration object.

Returns:
Description:

A parsed Bitmap Font data entry for the Bitmap Font cache.

Type:
  • object
Examples:
Since: 3.0.0
Focus
Focus