gameui
A module script.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2Blast Radius — zui tree builders. Pure functions from a view-model to widget trees; every interactive id is handled by the game component's onCallback. No engine calls except ui.screenSize().
label(text: ?, size: ?, color: ?, extra: ?) → void
| arg | type | description |
|---|---|---|
| text | ? | |
| size | ? | |
| color | ? | |
| extra | ? |
spacer(h: ?) → void
| arg | type | description |
|---|---|---|
| h | ? |
button(text: ?, id: ?, opts: ?) → void
| arg | type | description |
|---|---|---|
| text | ? | |
| id | ? | |
| opts | ? |
bar(pct: ?, w: ?, h: ?, fg: ?, bg: ?) → void
| arg | type | description |
|---|---|---|
| pct | ? | |
| w | ? | |
| h | ? | |
| fg | ? | |
| bg | ? |
screenCard(children: ?, w: ?) → void
Full-screen centered card scaffold. Width clamps to the canvas.
| arg | type | description |
|---|---|---|
| children | ? | |
| w | ? |
mainMenu(vm: ?) → void
Menus
| arg | type | description |
|---|---|---|
| vm | ? |
contractSelect(vm: ?) → void
| arg | type | description |
|---|---|---|
| vm | ? |
settings(vm: ?) → void
| arg | type | description |
|---|---|---|
| vm | ? |
volRow(name: ?, id: ?, v: ?) → void
| arg | type | description |
|---|---|---|
| name | ? | |
| id | ? | |
| v | ? |
extras(vm: ?) → void
| arg | type | description |
|---|---|---|
| vm | ? |
row(k: ?, v: ?) → void
| arg | type | description |
|---|---|---|
| k | ? | |
| v | ? |
briefing(vm: ?) → void
| arg | type | description |
|---|---|---|
| vm | ? |
pause(vm: ?) → void
| arg | type | description |
|---|---|---|
| vm | ? |
grade(vm: ?) → void
| arg | type | description |
|---|---|---|
| vm | ? |
row(k: ?, v: ?, c: ?) → void
| arg | type | description |
|---|---|---|
| k | ? | |
| v | ? | |
| c | ? |
hud(vm: ?) → void
HUD
| arg | type | description |
|---|---|---|
| vm | ? |
countdown(vm: ?) → void
| arg | type | description |
|---|---|---|
| vm | ? |
toast(vm: ?) → void
| arg | type | description |
|---|---|---|
| vm | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.