Log inGet started
World

Rogue Ice

Branchmain
Branchesmain
Commit9e9ef62cbb

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 on match.ended and on entering runover, ducking the loop.
  • Crowd: two looping arena beds (murmur + fever pitch) blended by run.hype plus 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 at Core.live positions; the rest are 2D.
  • Clips and the mix table live in game.audio.Clips. Fields musicVolume, crowdVolume, sfxVolume, masterVolume set the balance; currentMusic, crowdLevel, lastSfx, sfxCount, missing are read-only probes.