orbit/js
Brian Fertig 27a9a59c03 Add combat soundtrack that swaps in when combat goes live
- Introduce `music.combat` playlist (same shuffled contract as `game`) with its own per-context volume override (`volumes.combat`).
- Add `GameScene.setCombatMusic(active)` wired to the `_setCombatBar` seam: combat live stops the deep-space shuffle and starts the combat one; combat over swaps back unless the scene is asleep on a world's surface.
- Track sleep/wake with `_asleep` so the wake handler resumes the correct context (combat if still active, otherwise deep-space).
- Generalize `startMusicShuffleOn` to take a `context` parameter for independent volume resolution.
- Update preload to queue combat tracks under their derived keys and extend tests for combat shuffle, context swap, re-fire, asleep behavior, and data contract.
2026-09-20 20:38:07 -06:00
..
build
…
combat
…
comms
…
config
…
dev
…
economy
…
entities
…
galaxy
…
mining
…
quests
…
reputation
…
research
…
save
…
scan
…
scenes Add combat soundtrack that swaps in when combat goes live 2026-09-20 20:38:07 -06:00
ship
…
tether
…
ui Fix bounty-hunt tracker so READY repaints when complete flips after all 2026-09-20 20:25:06 -06:00
utils Add combat soundtrack that swaps in when combat goes live 2026-09-20 20:38:07 -06:00
vendor
…
vignettes
…
visuals
…
main.js
…