hud: the driver's screen, the ceremony, and the sound of it
Telemetry, ceremony and impact are three screens on three refresh rates, so a
one-shot entrance is never cut short by a per-frame re-register:
- gp_hud (20Hz) - position/lap/clock, a standings tower with gaps in metres of
road, an SVG speed dial, the drift-charge meter across its three tiers as the
hero element, the banked-boost bar, and a missile bay that names the racer it
is locked onto.
- gp_hud_stage - the five starting lights, lap and notice banners, and the
result card with the full classification. Re-registered only when its content
changes, and every transient node carries its own id so its entrance plays.
- gp_hud_flash - the impact layer: a hit drenches the screen red, shakes it and
says so, then tears itself down.
game/hud_sfx.module drives twelve cues through one Audio source's playOneShot,
puts ears on the play camera when the scene has none, and goes quiet rather
than failing when a clip is missing.
README.md is the world's front page: what the game is, the controls, how to
drift for boost, how the missile works, and how to read the screen.