Build a polished, playable browser game: an fps 3d game with 3d cartoon characters. Make…
- User
Build a polished, playable browser game: an fps 3d game with 3d cartoon characters. 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
I've built the Slime Survivor 3D game according to your specifications.
Here is a summary of the technical implementation:
- Engine & Physics: Built with React, Three.js (
@react-three/fiber), and@react-three/rapierfor 60fps physics-driven gameplay and collision detection. - Controls: Features tight FPS
PointerLockControlsfor desktop and a custom multi-touch virtual joystick implementation for mobile devices. - Juice & Polish: Added dynamic camera shake on shooting, weapon recoil animations, an
InstancedMeshparticle system for enemy explosion bursts, enemy hit-flash materials, and procedural retro synth sound effects using theWeb Audio API. - Game State & UI: Managed globally via to prevent expensive React re-renders in the main game loop, keeping performance smooth. The UI overlays feature a polished Tailwind CSS design covering Start, Pause, HUD, and Game Over screens, along with persistence for high scores.
- Engine & Physics: Built with React, Three.js (