hud_sfx
<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->
hud_sfx
<!-- 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/v2CHAIRSHIFT GP — the sound of the ceremony.
resolveClips( ) → void
Every clip is resolved by literal name so the asset graph can pin it — a computed name is invisible to the dependency scan and would leave the game silent anywhere but the world it was authored in.
ensureListener( ) → void
The ears. Spatial sound needs a listener and the scene ships none, so the HUD puts one on the play camera — but only if nothing else already claimed the role, because the first active listener drives the ears.
ensureBus( ) → void
build( ) → void
update(dt: ?) → void
Resolving the bus and the ears is retried rather than done once: the play camera spawns asynchronously, so it is routinely absent on the frame the HUD builds.
| arg | type | description |
|---|---|---|
| dt | ? |
play(cue: ?, opts: ?) → void
| arg | type | description |
|---|---|---|
| cue | ? | |
| opts | ? |
ready( ) → void
teardown( ) → void
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.