Bitmap Text Element
The Bitmap Text Element lets you render crisp, pre-baked text using bitmap font textures. Unlike standard dynamic fonts, bitmap text is drawn from an image atlas—ensuring pixel-perfect sharpness and minimal runtime overhead. If you need to update text content frequently (scores, timers, chat logs), Bitmap Text delivers high performance on low-end devices and maintains consistent styling across resolutions.
When to Use a Bitmap Text Element
- Rapidly updating values
Game scores, health bars, countdown timers, or live telemetry that change every frame. - Stylized UI labels
Pixel-perfect title screens, menus, or headers where you want a custom font look. - Performance-critical text
On devices where dynamic font rendering causes stutter or UI issues. - Multilingual layouts
If you pre-generate glyph atlases for each locale, switching languages is just swapping textures.
Bitmap Text Element Properties
Property | Type | Details |
---|---|---|
Name | text | Name of the element. Make sure the name of the element is unique if the element needs to be accessible from code (Enterprise Plan only). |
Text | text | The text to display. |
Tint | Color picker | Tint color of the element. Use to change the color overlay of the text. Default (white) has no effect on the color. |
Anchor | .% | Used to position the anchor point of the element (x: 0, y: 0 = top/left, x: 1, y: 1 = bottom/right) |
Parent Align | .% | Position of the element relative to its parent’s position. (x: 0, y: 0 = top/left, x: 1, y: 1 = bottom/right) |
Parent Size | .% | Use to resize the element relative to its parent's size (x: 1, y: 1 = match parent size, x: 0.5, y: 0.5 = half of parent size, x: 0, y: 0 = disables parent relative sizing). |
Content size | .% | Use to set the element's size automatically based on its content. (x: 1, y: 1 = match parent size, x: 1, y: 1 = matches the size of the provided sprite, x: 2, y: 2 = doubles the size of the provided sprite). |
Size | px | Explicitly set pixel size (logical screen units). |
Offset | px | Additional pixel offset from the element's position. |
Transform Properties
Transform properties affect the Element, as well as any child elements nested within the Element.
Property | Type | Notes |
---|---|---|
Pivot | .% | Pivot point for any transformations applied to the element. (x: 0, y: 0 = top/left, x: 0.5, y: 0.5 = center, x: 1, y: 1 = bottom/right). |
Angle | Degrees | Rotate the element around its Pivot point. |
Skew | Degrees | Skew along X/Y axes around the Pivot point. |
Scale | .% | Percentage scale of the element. Setting this value to x: 2, y: 2 scales the element twice as large. |
Alpha | .% | Transparency applied to the element. The default value 1 displays the element fully opaque, while 0.5 would make the element semi-transparent. Setting the value to 0 makes the element completely disappear. |
Text Style Properties
Property | Type | Notes |
---|---|---|
Font | File picker | Font file path to use for the text. Must be Font (.fnt) file type. |
Align | Dropdown | Alignment for multiline text. Does not affect single line text. |
Modifiers
Modifiers are vital to creating different visual states for your elements in the UI Editor. They allow you to set up visual state changes and transitions using various properties such as size, position, alpha, etc.
Sounds
Sounds are very similar to Modifiers, but instead of creating visual effects, they create sound effects which can be triggered using Events.
Triggers
Triggers allow you to add interactivity to your QSApp by enabling the ability to trigger modifiers and events when the trigger is activated. You can add triggers for actions like clicking, hovering, and dragging elements.