README
Jetpac
A retro-style Jetpac game with CRT effects, built with TypeScript and Vite.
Features
- Classic Jetpac gameplay
- CRT scanline and phosphor effects
- ZX Spectrum-inspired color palette
- Entity Component System (ECS) architecture
- WebGL post-processing
Getting Started
bash
npm install
npm run devOpen http://localhost:5173 in your browser.
Controls
- Arrow Keys - Move left/right
- Space - Jetpack thrust
- Z - Fire
Project Structure
shell
src/
├── core/ # Game engine (Engine, GameLoop, Input)
├── ecs/ # Entity Component System
├── entities/ # Game entities (Jetman, Rocket, Enemies)
├── systems/ # ECS systems (Physics, Collision, Render)
├── rendering/ # WebGL post-processing effects
├── audio/ # Audio management
├── config/ # Game constants and palette
└── ui/ # Title screen and UI
Tech Stack
- TypeScript
- Vite
- Canvas 2D + WebGL (post-processing)