Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·originates fromworld 8dcc035a-1…

Sound

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->

by◐niharrk24·posted 1mo ago
What it does

Sound

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this component provides and who consumes it, then delete both comment lines. -->

TODO: describe this component.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

game/sound/Sound.component/init.luau SLICE: sound — the house, heard. The house is heard before it is understood. Two beds that cross-fade on the state change — a cold present of rain on glass and wind at the eaves, and a warm past of a fire, a clock and a piano in another room — plus the one-shots every other slice asks for by name. Other slices call `Sound.play(cue, opts)` and never touch an entity. It subscribes to the Core bus itself, so `memory.begin` crosses the beds whether or not the memory slice remembered to ask.

Audio

addSource(name: ?, clip: ?, spatial: ?) → void

Building the beds

argtypedescription
name?
clip?
spatial?

duck(seconds: ?) → void

argtypedescription
seconds?

cueGain( ) → void

play(cue: string, opts: any) → void

argtypedescription
cuestring
optsany

bed(name: string, opts: any) → void

argtypedescription
namestring
optsany

buildAll( ) → void

Assembly

creakUnderfoot( ) → void

applyLevels( ) → void

levels( ) → void

has(cue: ?) → void

argtypedescription
cue?

awake( ) → void

start( ) → void

update(dt: ?) → void

argtypedescription
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.

27items
·
soundclip · born here
❒asset
# floor_creak Managed audio asset. Edit the `.metadata` `settings` block to change compression.
▲ 0↑ born
·
soundclip · born here
❒asset
# bed_memory Managed audio asset. Edit the `.metadata` `settings` block to change compression.
▲ 0↑ born
▣
module · born here
❒asset
# core <!-- 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.
▲ 0↑ born
·
soundclip · born here
❒asset
# music_box Managed audio asset. Edit the `.metadata` `settings` block to change compression.
▲ 0↑ born
·
soundclip · born here
❒asset
# bed_present Managed audio asset. Edit the `.metadata` `settings` block to change compression.
▲ 0↑ born
backing path · game/sound/Sound.component

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ 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".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.