Skip to content

Bitmap Text

Displays a text using a "Bitmap Font" (an image representing characters). This is more performant than a traditional Text object and it allows for complete control on the characters aesthetic. Read more explanations about it.

Bitmap Text

Displays a text using a "Bitmap Font" (an image representing characters). This is more performant than a traditional Text object and it allows for complete control on the characters aesthetic.

Object actions

Opacity
Change the opacity, between 0 (fully transparent) and 255 (opaque).

Scale
Change the scale (1 by default).

Text
Change the text.

Wrapping width
Change the width, in pixels, after which the text is wrapped on next line.

Alignment
Change the alignment of a Bitmap text object.

Bitmap files resources
Change the Bitmap Font and/or the atlas image used by the object.

Tint
Set the tint of the Bitmap Text object.

Word wrap
De/activate word wrapping.

Object conditions

Alignment
Compare the text alignment.

Font name
Compare the font name (defined in the Bitmap font).

Font size
Compare the font size, defined in the Bitmap Font.

Opacity
Compare the opacity, between 0 (fully transparent) and 255 (opaque).

Scale
Compare the scale (1 by default).

Text
Compare the text.

Wrapping width
Compare the width, in pixels, after which the text is wrapped on next line.

Word wrap
Check if word wrap is enabled.

Object expressions

Expression Description
Object.Alignment() Return the text alignment.
Object.FontName() Return the font name (defined in the Bitmap font).
Object.FontSize() Return the font size, defined in the Bitmap Font.
Object.Opacity() Return the opacity, between 0 (fully transparent) and 255 (opaque).
Object.Scale() Return the scale (1 by default).
Object.Text() Return the text.
Object.WrappingWidth() Return the width, in pixels, after which the text is wrapped on next line.

This page is an auto-generated reference page about the Bitmap Text feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.