Hud
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
Hud
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->TODO: describe this module.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2game.battle.Hud — the battle screen of IN THE WIRE, built as widget trees. Matches design/references/in_play_battle.png: a slanted terminal-green command menu, a top-left enemy readout, a bottom-right party panel with INTEGRITY / INK bars and red FILL pips, a "> What will you do?" prompt, red crayon slanted callouts (OVERDRAW! / WEAK / ERASE ALL), damage popups, and the full-screen moments (the Awakening cut-in, the eraser sweep, results). Hud.main(S, W, H) -> tree for screen "battle_hud" Hud.fx(S, W, H) -> tree for screen "battle_fx" (popups + callouts)
lbl(text: string, style: any?, id: string?) → any
| arg | type | description |
|---|---|---|
| text | string | |
| style | any? | |
| id | string? |
box(kind: string, style: any, children: { any }, id: string?) → any
| arg | type | description |
|---|---|---|
| kind | string | |
| style | any | |
| children | { any } | |
| id | string? |
bar(pct: number, w: number, h: number, color: string, glow: string) → any
| arg | type | description |
|---|---|---|
| pct | number | |
| w | number | |
| h | number | |
| color | string | |
| glow | string |
enemyPanel(S: ?) → any
pieces
| arg | type | description |
|---|---|---|
| S | ? |
cmdItem(it: any, selected: boolean, dim: boolean, idx: number, prefix: string) → any
| arg | type | description |
|---|---|---|
| it | any | |
| selected | boolean | |
| dim | boolean | |
| idx | number | |
| prefix | string |
commandMenu(S: ?, W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
subMenu(S: ?, W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
partyPanel(S: ?, W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
prompt(S: ?, W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
turnStrip(S: ?, W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
scanlines(W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| W | ? | |
| H | ? |
eraseMenu(S: ?, W: ?, H: ?) → any
full-screen moments
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
awakenOverlay(S: ?, W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
sweepOverlay(S: ?, W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
resultOverlay(S: ?, W: ?, H: ?) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | ? | |
| H | ? |
main(S: ?, W: number, H: number) → any
screens
| arg | type | description |
|---|---|---|
| S | ? | |
| W | number | |
| H | number |
fx(S: ?, W: number, H: number) → any
| arg | type | description |
|---|---|---|
| S | ? | |
| W | number | |
| H | number |
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.