Go to file
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
.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 explosion audio delay by using lightweight TransformNode 2025-11-10 14:04:16 -06:00
scripts Add Blender export tooling and refactor asset structure 2025-11-06 12:25:34 -06:00
server Initial Commit 2025-02-15 11:19:24 -06:00
src Fix explosion audio delay by using lightweight TransformNode 2025-11-10 14:04:16 -06:00
themes/default Fix explosion sound by migrating to AudioEngineV2 spatial audio API 2025-11-09 16:05:40 -06:00
.gitignore Initial Commit 2025-02-15 11:19:24 -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 Refactor asteroid scaling and reorganize assets 2025-11-10 12:19:31 -06:00
package-lock.json Fix explosion audio delay by using lightweight TransformNode 2025-11-10 14:04:16 -06:00
package.json Fix explosion audio delay by using lightweight TransformNode 2025-11-10 14:04:16 -06:00
styles.css Add difficulty levels and upgrade BabylonJS 2025-10-17 09:05:18 -05:00
tsconfig.json Initial Commit 2025-02-15 11:19:24 -06:00
vite.config.ts Fix explosion audio delay by using lightweight TransformNode 2025-11-10 14:04:16 -06:00