space-game/public
Michael Mainguy 244a25fff5
All checks were successful
Build / build (push) Successful in 1m34s
Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints
Major changes:
- Add LevelRegistry for managing default (JSON) and custom (localStorage) levels
- Default levels now load from /public/levels/*.json files
- Add 6 default level JSON files (rookie-training through final-challenge)
- Implement version-based automatic cache invalidation
- Add LevelVersionManager for tracking level updates
- Add LevelStatsManager for performance tracking (completion rate, best time, etc.)
- Add legacy migration tool for existing localStorage data
- Update level selector UI with stats display and version badges
- Add configurable orbit constraints per level (useOrbitConstraints flag)
- Hide copy button in level selector UI (TODO: re-enable later)
- Add extensive debug logging for velocity troubleshooting
- Add cloud sync infrastructure interfaces (future-ready)

Technical improvements:
- Hybrid storage: immutable defaults from JSON, editable custom levels in localStorage
- Automatic cache refresh when directory.json version changes
- Cache API for offline support
- Fresh start migration approach with export option
- Level loading now initializes before router starts

Physics configuration:
- Add useOrbitConstraints flag to LevelConfig
- Rookietraining.json uses constraints (velocities will create orbital motion)
- Debug logging added to verify velocity application

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:40:01 -06:00
..
assets Add level configuration system and update base station model 2025-11-11 17:26:18 -06:00
immersive Add local controller profiles and disable online repository 2025-11-07 11:31:13 -06:00
levels Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
systems Add JSON-based level editor with localStorage persistence 2025-10-29 08:24:55 -05:00
8192.webp Initial Commit 2025-02-15 11:19:24 -06:00
asteroid4.glb Update gameplay mechanics, asteroid model, and star base physics 2025-11-03 12:26:25 -06:00
background.mp3 Initial Commit 2025-02-15 11:19:24 -06:00
flare.png Initial Commit 2025-02-15 11:19:24 -06:00
shot2.mp3 Started cleaning up audio, rendering artifacts. 2025-02-16 16:44:18 -06:00
shot.mp3 Started cleaning up audio, rendering artifacts. 2025-02-16 16:44:18 -06:00
song1.mp3 Migrate to AudioEngineV2 and fix Meta Quest 2 controller detection 2025-10-17 13:59:48 -05:00
styles.css Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
thrust2.mp3 Initial Commit 2025-02-15 11:19:24 -06:00
thrust3.mp3 Started cleaning up audio, rendering artifacts. 2025-02-16 16:44:18 -06:00
thrust4.mp3 Started cleaning up audio, rendering artifacts. 2025-02-16 16:44:18 -06:00
thrust5.mp3 Started cleaning up audio, rendering artifacts. 2025-02-16 16:44:18 -06:00
thrust.mp3 Initial Commit 2025-02-15 11:19:24 -06:00
thust2.mp3 Initial Commit 2025-02-15 11:19:24 -06:00
yehrat.mp3 Initial Commit 2025-02-15 11:19:24 -06:00