Go to file
Michael Mainguy 28c1b2b2aa Fix routing, cleanup, and game restart issues
- Switch from svelte-spa-router to svelte-routing for clean URLs without hashes
- Fix relative asset paths to absolute paths (prevents 404s on nested routes)
- Fix physics engine disposal using scene.disablePhysicsEngine()
- Fix Ship observer cleanup to prevent stale callbacks after level disposal
- Add _gameplayStarted flag to prevent false game-end triggers during init
- Add hasAsteroidsToDestroy check to prevent false victory on restart
- Add RockFactory.reset() to properly reinitialize asteroid mesh between games
- Add null safety checks throughout RockFactory for static properties

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 11:21:05 -06:00
.claude Fix physics issues: sleep behavior, center of mass, and input scaling 2025-11-24 14:03:32 -06:00
.github/workflows increased heap space. 2025-10-28 12:01:29 -05:00
docs Add Blender export tooling and refactor asset structure 2025-11-06 12:25:34 -06:00
public Fix routing, cleanup, and game restart issues 2025-11-25 11:21:05 -06:00
scripts Implement hybrid level storage system with JSON-based defaults and configurable orbit constraints 2025-11-11 18:40:01 -06:00
src Fix routing, cleanup, and game restart issues 2025-11-25 11:21:05 -06:00
themes/default Add centralized input control management and mission brief improvements 2025-11-21 17:25:11 -06:00
.gitignore Initial Commit 2025-02-15 11:19:24 -06:00
ANALYTICS_IMPLEMENTATION.md Add analytics abstraction layer with intelligent batching 2025-11-12 16:22:28 -06:00
CLAUDE.md Refactor asteroid scaling and reorganize assets 2025-11-10 12:19:31 -06:00
CONTROLLER_THRUST.md Refactor ship controls to force-based physics with world-space transformations 2025-10-31 11:20:31 -05:00
index.html Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00
index.html.backup Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00
package-lock.json Fix routing, cleanup, and game restart issues 2025-11-25 11:21:05 -06:00
package.json Fix routing, cleanup, and game restart issues 2025-11-25 11:21:05 -06:00
svelte.config.js Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00
tsconfig.json Implement Svelte-based UI architecture with component system 2025-11-21 15:01:17 -06:00
vite.config.ts Fix routing, cleanup, and game restart issues 2025-11-25 11:21:05 -06:00