orbit/js
Brian Fertig b4b656f6e4 Add asteroid mining: energy arm, beam FX, and context menu
- Click a rock to open a world-anchored mining popup (Mine/Stop/Cancel)
- Mining state machine locks the ship during the ~1.5 s arm extension, then fires an animated beam with ore motes, shock rings, sparks, and periodic surges
- ESC breaks the beam or closes the menu; outside clicks dismiss without flying
- Generalize the top-center console toast so discovery, tether, and mining calls share one slot
- Add a "mining" SFX entry (system-scan.mp3) and update preload/test to cover all configured sounds
- Ship a headless browser test (dev/mining-test.*) that drives the full arm sequence through the real input pipeline
2026-09-04 17:09:16 -06:00
..
config
entities
galaxy
mining Add asteroid mining: energy arm, beam FX, and context menu 2026-09-04 17:09:16 -06:00
save Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
scenes Add asteroid mining: energy arm, beam FX, and context menu 2026-09-04 17:09:16 -06:00
tether
ui Add asteroid mining: energy arm, beam FX, and context menu 2026-09-04 17:09:16 -06:00
utils Fix menu sub-bar, save panel, and confirm dialog input and z-order bugs 2026-09-04 14:31:34 -06:00
vendor
visuals
main.js