space-game/public/assets/themes/default/audio
Michael Mainguy 17c98c6102
All checks were successful
Build / build (push) Successful in 1m25s
Fix explosion audio delay by using lightweight TransformNode
Changes:
- Replace MeshBuilder.CreateSphere() with TransformNode in rockFactory.ts
- Eliminates 15-50ms geometry creation delay before audio playback
- Spatial audio only needs position data, not full mesh geometry
- Sound now plays immediately on asteroid collision

Technical details:
- TransformNode is a lightweight position container with no geometry
- No vertex buffers or WebGL resources to allocate
- Instantaneous creation removes blocking operation from critical path
- Maintains spatial audio positioning without performance overhead

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 14:04:16 -06:00
..
voice Refactor replay system to reuse Level1.initialize() and simplify UI 2025-11-08 19:20:36 -06:00
collision.mp3 Add physics-based collision damage, spatial audio, and synchronized audio loading 2025-11-09 11:28:31 -06:00
crack.wav Fix explosion sound by migrating to AudioEngineV2 spatial audio API 2025-11-09 16:05:40 -06:00
crash.wav Fix explosion sound by migrating to AudioEngineV2 spatial audio API 2025-11-09 16:05:40 -06:00
explosion.mp3 Fix explosion audio delay by using lightweight TransformNode 2025-11-10 14:04:16 -06:00
metal.wav Fix explosion sound by migrating to AudioEngineV2 spatial audio API 2025-11-09 16:05:40 -06:00