space-game/src/environment/asteroids
Michael Mainguy b46f44e32d
All checks were successful
Build / build (push) Successful in 1m45s
Performance fixes and debug features
- Fix duplicate render loops causing 50% FPS drop (70→40)
  - Add stopRenderLoop() before runRenderLoop() in level1.ts and levelSelectedHandler.ts
- Add ?loglevel=debug|info|warn|error query parameter
- Add Y button to toggle inspector in XR
- Throttle scoreboard updates to every 10 frames
- Throttle game-end condition checks to every 30 frames
- Remove per-frame logging from explosion animations
- Reduce background stars from 5000 to 2500
- Freeze asteroid material after loading
- Reduce physics substeps from 5 to 2
- Disable autoClear for Quest 2 performance

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 07:58:15 -06:00
..
explosionManager.ts Performance fixes and debug features 2025-11-29 07:58:15 -06:00
rockFactory.ts Performance fixes and debug features 2025-11-29 07:58:15 -06:00