2D side-on space trucker prototype built with TypeScript and raw Canvas 2D.
- Node.js 18+ recommended
- npm
npm installStart the Vite dev server:
npm run devDefault local URL:
http://localhost:5173/
If you want to bind a specific host/port:
npm run dev -- --host 0.0.0.0 --port 4173Example URL for that:
http://localhost:4173/
Create a production build:
npm run buildOutput goes to:
dist/
After building, serve the built app locally:
npm run previewYou can also pass host/port flags:
npm run preview -- --host 0.0.0.0 --port 4173npm run dev— start development servernpm run build— type-check and build for productionnpm run preview— serve the built app locally