space-game/src
Michael Mainguy a9ae41c7eb Fix WebXR camera setup and pointer selection timing
- Create consolidated setupXRCamera() method in Level1 to handle all XR
  camera initialization in one place
- Use intermediate TransformNode (xrCameraRig) for camera rotation since
  WebXR camera only uses rotationQuaternion which XR frame updates overwrite
- Fix pointer selection feature registration timing - must register after
  XR session starts, not during initialize()
- Move pointer registration to onStateChangedObservable and setupXRCamera()
- Don't stop render loop before entering XR as it may prevent observables
  from firing properly
- Fix audio paths in shipAudio.ts to use correct asset locations

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 10:22:59 -06:00
..
analytics Add analytics abstraction layer with intelligent batching 2025-11-12 16:22:28 -06:00
components Add leaderboard infinite scroll and improve seed script scoring 2025-11-26 12:51:43 -06:00
core Simplify level system and add asteroid-mania level 2025-11-25 15:34:23 -06:00
environment Simplify level system and add asteroid-mania level 2025-11-25 15:34:23 -06:00
game Implement comprehensive scoring system with star ratings 2025-11-22 06:32:55 -06:00
levels Fix WebXR camera setup and pointer selection timing 2025-11-28 10:22:59 -06:00
replay Restructure codebase into logical subdirectories 2025-11-11 12:53:18 -06:00
services Add leaderboard infinite scroll and improve seed script scoring 2025-11-26 12:51:43 -06:00
ship Fix WebXR camera setup and pointer selection timing 2025-11-28 10:22:59 -06:00
stores Add game results leaderboard system 2025-11-25 12:39:23 -06:00
ui Add game results leaderboard system 2025-11-25 12:39:23 -06:00
utils Fix routing, cleanup, and game restart issues 2025-11-25 11:21:05 -06:00
main.ts Fix WebXR camera setup and pointer selection timing 2025-11-28 10:22:59 -06:00
vite-env.d.ts Add Discord widget integration with dynamic script loading 2025-11-10 17:53:27 -06:00