UMBRAL — Bajo el mar, alguien sigue llamando
README.md
umbral.ui.HudScreen
The in-play HUD, from references/raw/play.texture/play.png: the bell medallion, the VIDA bar
and the CORO bar, the region name and the way into the map.
HudScreen.build(state) returns the widget tree; it holds no state, so the component rebuilds
it whenever a value moves.
| key | what |
|---|---|
health, healthMax | fragments of the bell she has left; the bar is cut into that many ticks |
coro, coroMax | the Coro; filled by landing hits, spent to heal |
region | { name, id } — the name set at the bottom left |
width | the canvas width in points; everything scales from it, so a phone gets a smaller HUD |
The VIDA fill is bone, the CORO fill turquoise, both inside the same bronze case with the tapered right end the reference draws. The region row is the tap target that opens the map.