sfx
Every Bola na Rede sound: kicks picked and pitched by power, net, post and bar, boards, tackle, whistles, UI move / confirm / back, countdown, the crowd bed that swells as an attack nears a goal and roars on goals, and the samba menu music. Volumes follow the music and sfx settin…
sfx
Every Bola na Rede sound: kicks picked and pitched by power, net, post and bar, boards, tackle, whistles, UI move / confirm / back, countdown, the crowd bed that swells as an attack nears a goal and roars on goals, and the samba menu music. Volumes follow the music and sfx settings through mixer channels. Clips were generated with audio_gen and live beside 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/v2strict
now( ) → number
play(name: string, opts: any?) → void
Play a named one-shot. opts: { volume, pitch, cooldown (s) }.
| arg | type | description |
|---|---|---|
| name | string | |
| opts | any? |
kick(power: number, kind: string?) → void
A kick, picked and pitched by power (0..1) and kind (pass|shot|lob|clear|super).
| arg | type | description |
|---|---|---|
| power | number | |
| kind | string? |
ui(kind: string) → void
UI sounds: "move" | "confirm" | "back".
| arg | type | description |
|---|---|---|
| kind | string |
player(key: string, clip: string, looping: boolean, channel: string, volume: number) → any
| arg | type | description |
|---|---|---|
| key | string | |
| clip | string | |
| looping | boolean | |
| channel | string | |
| volume | number |
music(on: boolean) → void
Start or stop the menu music.
| arg | type | description |
|---|---|---|
| on | boolean |
crowd(on: boolean) → void
Start or stop the stadium crowd bed.
| arg | type | description |
|---|---|---|
| on | boolean |
homeAttack(s: any) → void
The home chant follows the match state (CONTRACT state): it rises while the home side has the ball in the away half, most near the away goal.
| arg | type | description |
|---|---|---|
| s | any |
chantSwell(level: number?) → void
Lift the chant now (the walk-out, a home goal); it settles back by itself.
| arg | type | description |
|---|---|---|
| level | number? |
attack(level: number) → void
How close an attack is to scoring, 0..1: the crowd bed swells with it.
| arg | type | description |
|---|---|---|
| level | number |
roar( ) → void
The crowd erupts (a goal).
ooh( ) → void
The crowd groans (save, post, bar).
tick(dt: number) → void
Per-frame: eases the crowd bed toward its target.
| arg | type | description |
|---|---|---|
| dt | number |
setVolumes(music: number, sfx: number) → void
Apply the player's volumes (0..1).
| arg | type | description |
|---|---|---|
| music | number | |
| sfx | number |
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.