orbit/js/ui
Brian Fertig 217ba6bedb Add save/load system with 10-slot localStorage bank and UI
- SaveManager: 10-slot localStorage bank (put/get/clear/list/export), corrupt-bank recovery, failed-write surfacing, bulk JSON export
- SaveData: captureState / prepareLoad / consumeRestore / resetRunState — seed + player state round-trip through a shared registry
- MenuSubBar: fold-up drawer off the deck's MENU button (Save Game / Load Game / Return to Main Menu) with animated open/close
- SavePanel: 10-slot pop-up in save or load mode; overwrite + load confirm dialogs; "download all" bulk export; toast feedback
- ConfirmOverlay: split-open confirm dialog for destructive actions
- SlotCard, Toast: per-slot cards and inline feedback strips
- MenuScene: Load Game button (grayed while bank is empty) opens the same panel in load mode
- GameScene: menu sub-bar + save panel wired into deck action, ESC handling, input blocking while modal, applyRestore on scene boot
- Tether HUD moved from above the MENU button to upper-right corner, stacking downward
- MenuButton: disabled (grayed) state and screenFixed option for scrolling-camera UI
- New SFX assets (ui-click, ui-hover) + updated existing FX; gasgiant planet image
- Dev tooling: cdp-firefox.mjs, wdshot.mjs (headless Firefox via geckodriver), saves-ui-test.html/.mjs (integration driver), saves.test.mjs (Node unit tests), system-hud test updates
2026-09-04 13:09:08 -06:00
..
ActionBar.js Simplify action bar slots to label-only buttons 2026-09-04 09:12:03 -06:00
ConfirmOverlay.js Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
CyberShape.js
DiscoveryCompass.js
GlitchText.js
MenuButton.js Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
MenuSubBar.js Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
SavePanel.js Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
SlotCard.js Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
Toast.js Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00