BitmapText

The Phaser.GameObjects.BitmapText is widely used in Phaser game development, to display texts.

You can create a Bitmap Text object in two ways:

Bitmap Text objects are created in code using the bitmapText factory:

this.add.bitmapText(100, 150, "desyrel", "Hello bitmap text!", 70, 0);

The Bitmap Text properties

The Bitmap Text type contains many of the common object properties:

It also contains the Text property, that is dedicated to all the objects with texts, and its specific properties:

Updated on