All examples · Text and UI

Arcade high scores

What this example shows

A high-score table and a name entry, all text. Titles are centred and scores right-aligned with anchor, so nobody has to measure a string.

Typing uses justPressed, true for one frame per press, and the name field is a text whose .text is rewritten every frame with a blinking cursor. The hint line is written in lowercase and drawn with the font's capitals.

Starting