Skip to content

Djay77/airplane-shooter

Repository files navigation

3D Arcade Airplane Shooter

A browser-based 3D arcade shooter game built with Three.js and TypeScript.

Quick Start

  1. Install dependencies:
npm install
  1. Start development server:
npm run dev
  1. Open http://localhost:3000 in your browser

Controls

  • Arrow Keys / WASD: Move airplane
  • Space / Left Click: Fire
  • B / Right Click: Use bomb (when available)
  • Escape / P: Pause game

Project Structure

src/
├── core/           # Core game systems
├── entities/       # Game objects (Player, Enemy, Projectile)
├── systems/        # Rendering, physics, camera, etc.
├── ui/            # User interface components
└── utils/         # Utilities and constants

Performance Optimization

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

Development

  • 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)

Building for Production

npm run build

The built files will be in the dist/ directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published