Skip to content

codyebberson/js13k-starter

Repository files navigation

JS13K Starter

A starter template for the js13kgames competition.

JS13k Starter

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 git@github.com: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

Kang Seonghoon for Roadroller

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