Go to file
Michael Mainguy 181a427875
Some checks failed
Build / build (push) Failing after 18s
Add GameConfig system with texture quality levels and physics toggle
Created GameConfig singleton class with localStorage persistence for game settings:
- Texture quality levels: WIREFRAME, SIMPLE_MATERIAL, FULL_TEXTURE, PBR_TEXTURE
- Physics enable/disable toggle for performance optimization

Created MaterialFactory for quality-level-based material generation:
- Planet materials with dynamic sun-oriented lightmaps
- Asteroid materials preserving GLB bump textures
- Sun materials with procedural fire textures

Integrated GameConfig throughout game entities:
- Conditional physics creation in asteroids, ship, start base
- Material creation respects texture quality settings
- Physics constraints only applied when physics enabled

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 08:53:11 -05:00
.github/workflows increased heap space. 2025-10-28 12:01:29 -05:00
public Create mesh-based physics for ship and optimize planet geometry 2025-10-30 08:22:21 -05:00
server Initial Commit 2025-02-15 11:19:24 -06:00
src Add GameConfig system with texture quality levels and physics toggle 2025-10-30 08:53:11 -05:00
.gitignore Initial Commit 2025-02-15 11:19:24 -06:00
CLAUDE.md Add JSON-based level editor with localStorage persistence 2025-10-29 08:24:55 -05:00
index.html Add JSON-based level editor with localStorage persistence 2025-10-29 08:24:55 -05:00
package-lock.json Optimize WebXR performance and add procedural planet generation 2025-10-28 11:50:18 -05:00
package.json Add difficulty levels and upgrade BabylonJS 2025-10-17 09:05:18 -05: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 Add difficulty levels and upgrade BabylonJS 2025-10-17 09:05:18 -05:00