StageLoader
Loads only the selected circuit as an additive layer under the multiplayer race. Holds literal references to all five stage scenes. Unloads the prior stage and updates readiness before racing resumes.
Loads only the selected circuit as an additive layer under the multiplayer race. Holds literal references to all five stage scenes. Unloads the prior stage and updates readiness before racing resumes.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2retireStageLights(proxy: ?) → void
The renderer keeps one row per punctual light (64 rows total), keyed by entity id, and only retires a row when the Light component is removed. A layer unload despawns its entities without that removal, so every light of an unloaded stage would hold its row forever and starve later lights (rival headlights, the next stage's floods) of a slot. Retire them first.
| arg | type | description |
|---|---|---|
| proxy | ? |
punctual(e: ?) → void
| arg | type | description |
|---|---|---|
| e | ? |
reseatLights( ) → void
A light inserted while every row is taken is never seated later, even once rows free up. After a stage swap, re-seat every active light without a row.
liveRace( ) → void
The race a peer is in can be despawned while this loader still holds the proxy that named it — a restart, or the peer that owned it leaving. Asking a dead proxy for a component raises, and that raise reached update() every frame, so the loader never loaded a stage and the grid it was waiting for never became ready. Resolve it afresh, and drop the reference once it is gone.
tick( ) → void
awake( ) → void
update(_dt: ?) → void
| arg | type | description |
|---|---|---|
| _dt | ? |
editorUpdate(dt: ?) → void
| arg | type | description |
|---|---|---|
| dt | ? |
onDestroy( ) → 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.
Showing up to 3 levels deep. Open a part to see what it holds further down.
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.