Please wait while we load the game details.
# Environment 9 (ball_escape_maze_3d) Modular Three.js environment based on **ball_escape_maze_3d** (3D maze roller). Procedural maze with brick walls, tiled floor, and textured ball. ## Features - **Textures** (from gameAssets.json CDN): wall (brick), floor (tiled), ball (volley colored) - **Maze**: Procedural `generateSquareMaze`, exit at bottom-right - **Lighting**: Point light (ball_escape style) - **Port**: 3000 ## Run ```bash npm install npm run dev ``` ## Structure - `public/gameAssets.json` – texture URLs (ball, floor, wall) - `src/config.ts` – maze dimension, lighting - `src/loadAssets.ts` – fetch gameAssets.json, load textures - `src/utils.ts` – `generateSquareMaze()` procedural maze - `src/createScene.ts` – dark background scene - `src/createLighting.ts` – point light - `src/map.ts` – maze mesh, floor plane, ball (all textured) - `src/main.ts` – loads assets, OrbitControls preview - `src/index.ts` – `createEnvironment()` export