Platformer Game for js13kGames 2020.
After so many years of mystery, the time has finally come. Help our hero to recover all humanity missing socks at the hand of evil washing machines in 404 sock not found.
Starter boilerplate for js13kgames Game Jam using Rollup.
- Node.js
>= v10
- Zip (compatible with info-zip command line).
- AdvZip.
Development mode:
npm start
It will open the browser, rebuild on changes and reload the browser.
Production mode:
npm run build
It will minify, compress and inline styles and scripts in a single html file. It will also zip the file.
The generated files will be available in the dist
directory.
The entry point for the application is the file src/index.js
, from there any import will be automatically solved by rollup
including external dependencies installed in node_modules
folder. This includes css
files thanks to postcss.
The file src/index.html
will be used as a template for the final bundle.
The files
src/index.js
andsrc/index.html
are mandatory for the scripts to work.
In production mode:
- The javascript code is optimized thanks to terser.
- The javascript and styles bundles are inlined in a single html file thanks to
html-inline
(and minified thanks tohtml-minifier
). - The zip file will only contain the single inlined html bundle.
Jerome Lecomte for his original boilerplate from which I based this one.