hud
What is on the glass while the crypt is being fought through, built as one tree from the metrics and a view of `Hollow.state`.
hud
What is on the glass while the crypt is being fought through, built as one tree
from the metrics and a view of Hollow.state.
Stacked down the screen, because the filmed frame is portrait:
| Where | What |
|---|---|
| under the top edge | the Bellwarden's bar, with the two phase marks cut into it, while Hollow.state.boss.engaged |
| below that | the chamber's name, announced when one is entered and fading out |
| above the instruments | the caption band — the speaker and the written form of whatever Hollow.say just spoke — and the pickup toast |
| across the bottom | the health orb, the three ability pips, and the flasks / gold / relic slots |
local Hud = require("presentation.hud")
ui.updateScreen("hollow.hud", Hud.build(T.metrics(touch), view))
Two things it deliberately does not do. It carries no animation: its tree
is rebuilt every frame, and a keyframe animation on a node re-declared each
frame has nothing stable to run against — what moves here moves because a number
moved, and the fades are computed as opacities from the slice's own clock. And
its chrome flag is false during the opening, when the only thing on the glass
should be what is being said.
Scoped to this part · feeds back into the world's score.