orbit/dev
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
..
asteroids.test.mjs Fix asteroid rock overlap and add distinct compass color for clusters 2026-09-04 08:45:28 -06:00
cdp-eval.mjs
cdp-firefox.mjs Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
cdpshot.mjs
decode.test.mjs Add SFX, dossier toggle/auto-fold, and tether HUD repositioning 2026-09-04 10:25:37 -06:00
discovery.test.mjs Rework solar system layout to orbit rings with minSpacing/maxNeighbor ru 2026-09-03 23:01:47 -06:00
galaxy.test.mjs Give the home world a real name from the bank, and show object names on the compass 2026-09-03 22:41:06 -06:00
planet.test.mjs
research-builds.test.mjs
saves-ui-test.html Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
saves-ui-test.mjs Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
saves.test.mjs Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
ship-behavior.test.mjs
smoke-game.mjs Add asteroid clusters as discoverable, solid objects in each star system 2026-09-04 08:34:55 -06:00
starfield.test.mjs
system-hud.test.mjs Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
test-game.html
tether.test.mjs Add the tether: the player's range, a level-1 zone (5120 px) with a glitchy barrier rim 2026-09-03 22:03:29 -06:00
wdshot.mjs Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00