label(text: string, style: any?) → any
Small builders
| arg | type | description |
|---|
| text | string | |
| style | any? | |
abs(l: any, t: any, w: any, h: any, extra: any?) → any
| arg | type | description |
|---|
| l | any | |
| t | any | |
| w | any | |
| h | any | |
| extra | any? | |
loop(map: any, dur: number, easing: string?, extra: any?) → any
| arg | type | description |
|---|
| map | any | |
| dur | number | |
| easing | string? | |
| extra | any? | |
once(map: any, dur: number, easing: string?, extra: any?) → any
| arg | type | description |
|---|
| map | any | |
| dur | number | |
| easing | string? | |
| extra | any? | |
bar(pct: number, h: number, fill: string, opts: any?) → any
A horizontal meter. `pct` is 0..100.
| arg | type | description |
|---|
| pct | number | |
| h | number | |
| fill | string | |
| opts | any? | |
panel(style: any, children: { any }) → any
| arg | type | description |
|---|
| style | any | |
| children | { any } | |
sectionHead(title: string, right: string, rightColor: string?) → any
| arg | type | description |
|---|
| title | string | |
| right | string | |
| rightColor | string? | |
pylonRow(p: any) → any
The objective column: the six survey pylons, as objectives.
objectives(view: any) → any
| arg | type | description |
|---|
| view | any | |
ticks(count: number) → void
The eruption meter: the clock, made threatening.
| arg | type | description |
|---|
| count | number | |
eruption(view: any) → any
| arg | type | description |
|---|
| view | any | |
heat(view: any) → any
Heat: what is left of the player.
| arg | type | description |
|---|
| view | any | |
prompt(view: any) → any
The charge prompt: the one thing the player looks at while standing still.
| arg | type | description |
|---|
| view | any | |
lavaWarning(view: any) → any
Standing danger: the lava closing on the player's own feet.
| arg | type | description |
|---|
| view | any | |
lavaBanner(view: any) → any
| arg | type | description |
|---|
| view | any | |
brief(view: any) → any
The in-play brief: the objective, stated once, as the run starts.
| arg | type | description |
|---|
| view | any | |
hud(view: any) → any
The live HUD.
| arg | type | description |
|---|
| view | any | |
flash(kind: string?, text: string?) → any
Screen feedback. One tree per event, animated by the renderer from there.
`kind`: "hit" | "armed" | "won" | "lost" | "impact" | nil (clear)
| arg | type | description |
|---|
| kind | string? | |
| text | string? | |
statRow(k: string, v: string, col: string?) → any
The framing cards: title, won, lost. Each carries the restart affordance.
| arg | type | description |
|---|
| k | string | |
| v | string | |
| col | string? | |
actionButton(id: string, text: string, accent: string) → any
| arg | type | description |
|---|
| id | string | |
| text | string | |
| accent | string | |
card(view: any) → any
| arg | type | description |
|---|
| view | any | |