nylira-2d-boilerplate

Boilerplate for a 2D web game, using PIXI.js

Usage no npm install needed!

<script type="module">
  import nylira2dBoilerplate from 'https://cdn.skypack.dev/nylira-2d-boilerplate';
</script>

README

nylira-2d-boilerplate

Boilerplate for a 2D web game, using PIXI.js

Set it up

npm install
make
node server.js

// visit http://localhost:1337 in your browser

Editing

Edit JS:

vi ./pub/js/app.js

Edit CSS:

vi ./src/stylesheets/screen.styl

Watching for changes

Watch for JavaScript changes:

make wjs

Watch for CSS changes:

make wcss

Building for production

make

Check out the Makefile for other commands and customization.

License

MIT