Lantern Peak: A Storybook Mountain Platformer
README.md
sounds
Every frostHazards kind makes its own sound, heard in 3D by every player near it. The Hazard
component calls it each play frame: each machine works out the same moments from the shared
clock (snowball rolls and bursts, icicle cracks and shatters, wind gusts, vent rumbles and
bursts, avalanche roars, rocks clatter, thin ice cracks and breaks, spikes shoot) and plays them
at the right spot through the engine's spatial Audio on the sfx channel. Looks shift pitch.
Games tune it with S.setVolume(v), S.setChannel(ch), S.setEnabled(on), or per cue in
S.CUES[kind][cue].volume. A hazard's own sound field switches one hazard off.
The clips live in frostHazards/sounds/.