A lightweight browser FPS prototype built with Three.js. Explore a procedural island city, fight patrols, recover energy cores, and enter a drivable vehicle. Everything is generated from code—there are no model or texture downloads.
ES modules need an HTTP server (opening index.html directly will not work):
python3 -m http.server 8080Then open http://localhost:8080.
WASD: move on foot (also supported while driving)- Arrow keys: accelerate, reverse, and steer vehicles
- Mouse: aim
- Left click: fire
Shift: sprint / vehicle boostSpace: jump / handbrakeR: reloadE: enter or exit any parked vehicleM: full mapEsc: pause / release mouse
This is a static project with no build step. In Cloudflare Pages, connect this repository and set:
- Framework preset:
None - Build command: leave empty
- Build output directory:
/
For a production multiplayer version, keep the current client-side entity model and add a Cloudflare Worker with Durable Objects for authoritative rooms, player state, and WebSocket broadcasts.
