threejs-vite-game starter
Starters · 3D · MIT

- What it does
A whole Vite + TypeScript + three.js starter: one arena, a capsule player you move with WASD or a touch stick, eight pickups, a HUD, shadows, ACES tone mapping, a seeded random generator, a diagnostics object, five test hooks for frozen screenshots, and Playwright tests. It is deliberately plain (the pack's own scorecard would call it a 1). Its loop runs on the browser's clock with the step capped at 0.05 s, so it plays in real time; it is not built to be rendered frame by frame.
- Get it
python3 skills/threejs-gameplay-systems/scripts/create_threejs_game.py ./my-game && cd my-game && npm install && npm run dev (dev server on <your-dev-server>:5188)
- Needs
Node and npm; three ^0.184, lil-gui, vite ^8, typescript ^6; @playwright/test and pngjs for the tests
- License
MIT
- From