Build a polished, playable browser game: a 3d voxel game with scale inspired in Trove.…
- User
Build a polished, playable browser game: a 3d voxel game with scale inspired in Trove. You control a mage in third person, procedural world, mesh graphics optimization and kill goblins (three different goblins) with a magic wind that launch fire balls. Mana and health bars.. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
Assistant
Installed three.js. Now let me build the game. Starting with noise + procedural voxel world with chunk meshing.
Now the core game engine:
Adding the public input wrappers to the Game class:
A few gameplay fixes (knockback direction, menu mage visibility, spawn-area clearing, touch detection):
Let me optimize the character rigs by merging static parts into single meshes (fewer draw calls for many goblins):
Adding synthesized sound effects (WebAudio, no assets) for extra juice:
Files built:
src/game/noise.ts,src/game/world.ts,src/game/fx.ts,src/game/models.ts,src/game/Game.ts,src/game/scores.ts,src/ui/Hud.tsx,src/ui/TouchControls.tsx,src/ui/Screens.tsx,src/App.tsx,src/index.css,index.html,src/game/audio.ts
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.