GameAudio.component
This package holds more than this page lists. See all of its files in its world.
README.md
GameAudio
The sound of ROGUE ICE, driven entirely from the Core bus. Sits on the scene's Audio anchor; the listener is the AudioListener on MainCamera.
- Music: two looping buses crossfaded (1.8 s) by
Core.state().phase: an arena-rock/electronic title theme (title, collection, achievements), a lo-fi front-office loop (hub, event, shop, reward), a driving match track (match). Victory / defeat stingers play on their own bus onmatch.endedand on enteringrunover, ducking the loop. - Crowd: two looping arena beds (murmur + fever pitch) blended by
run.hypeplus an excitement level that goals, big hits, saves, rushes and shots push up; loudness also follows the phase (full house in a match, faint through the office glass). Goal = horn + roar + organ riff + chant; goal against = groan; power play / crowd roar cards and hype ≥ 70 bring chants. - SFX: card draw, card play by kind (whoosh / clank / shimmer / cash / skate-on), shuffle, energy gain, END SHIFT, faceoff whistle + puck drop, period buzzer, pass, carve, slapshot, save thud / post ping, board check, block, intent warning, money ka-ching, fans cheer, viewer ping, sponsor signed, achievement fanfare, unlock,
ui.click/ui.hover. Puck, hit, save and skate sounds are spatial atCore.livepositions; the rest are 2D. - Clips and the mix table live in
game.audio.Clips. FieldsmusicVolume,crowdVolume,sfxVolume,masterVolumeset the balance;currentMusic,crowdLevel,lastSfx,sfxCount,missingare read-only probes.