create-spud
v0.2.0
Published
The quickest way to set up and scaffold a [spud](https://spud.gg) game.
Readme
create-spud
The quickest way to set up and scaffold a spud game.
Quick start
bun create spudAlso supported:
npm create spud
pnpm create spud
deno create npm:spudAutomatically set up for you
- A working Vite + TypeScript project with hot module replacement
- Canvas setup with DPI-aware scaling
- Fixed‑timestep update loop + variable-rate render loop
- Static asset import handling through Vite and image optimization
- Gamepad integration with the spud API (npm)
- Starter templates:
minimal: no gameplay or assets includedpong: a one-player Pong with gamepad and keyboard input support, audio assets, and in-game camera
Requirements
- Bun for
bun create spud - Node.js 22+ for
npm create spudorpnpm create spud - Deno for
deno create npm:spud
Dependencies are installed with the same tool you use to create the project.
Install Bun (docs):
curl -fsSL https://bun.sh/install | bashThen restart your terminal so bun is on your $PATH.
