js13k-starter
js13k-starter copied to clipboard
JS13K Starter
A starter template for the js13kgames competition.
Play live demo: https://js13k-starter.vercel.app/
This starter project uses js13k-vite-plugins for js13k optimized tooling. See js13k-vite-plugins for more information about tooling and configuration.
The size of this demo is about 4 kB, only 30% of the 13 kB budget, which leaves you 9 kB to add gameplay, graphics, sound, and more.
Usage
Install
Clone and install dependencies:
git clone [email protected]:codyebberson/js13k-starter.git
cd js13k-starter
npm i
Dev server
Start the dev server with hot reload:
npm run dev
Open your web browser to http://localhost:3000/
Production build
Create a final production build:
npm run build
Preview production build
After building, you can preview the production build with Vite's built-in server:
npm run preview
Acknowledgements
Frank Force for ZzFX
Keith Clark and Frank Force for ZzFXM
Rob Louie for Roadroller configuration recommendations
Salvatore Previti for Terser configuration recommendations
Kenney for Pixel Platformer graphics
Andrzej Mazur for organizing js13k
License
Code: MIT
Graphics: Creative Commons CC0 1.0 Universal