A browser-based 3D arcade shooter game built with Three.js and TypeScript.
- Install dependencies:
npm install
- Start development server:
npm run dev
- Open http://localhost:3000 in your browser
- Arrow Keys / WASD: Move airplane
- Space / Left Click: Fire
- B / Right Click: Use bomb (when available)
- Escape / P: Pause game
src/
├── core/ # Core game systems
├── entities/ # Game objects (Player, Enemy, Projectile)
├── systems/ # Rendering, physics, camera, etc.
├── ui/ # User interface components
└── utils/ # Utilities and constants
The game is optimized for 60 FPS with:
- Object pooling for projectiles and particles
- Spatial hashing for collision detection
- LOD system for distant objects
- Frustum culling
- Instanced rendering for similar objects
- Built with Vite for fast development
- TypeScript for type safety
- Three.js for 3D graphics
- GSAP for animations
- Howler.js for audio (ready to implement)
npm run build
The built files will be in the dist/
directory.