Minimum game starter kit, perfect for js13kGames compo
JavaScript
Latest commit e7065cf Jan 10, 2017 @voronianski voronianski committed on GitHub readme
Permalink
Failed to load latest commit information.
src demo Jan 10, 2017
.editorconfig initial Aug 14, 2016
.eslintrc setup loop, add demo with balls Aug 14, 2016
.gitignore setup build Aug 14, 2016
README.md readme Jan 10, 2017
demo.gif demo Jan 10, 2017
package.json readme Jan 10, 2017
webpack.config.js shape it up as boilerplate Jan 10, 2017

README.md

js13kGames boilerplate

Minimum game starter kit, perfect for js13kGames compo.

What's inside?

  • raf based game loop
  • stats in development mode
  • basic utility for randomization
  • basic utility for handling keyboard interactions
  • webpack configuration for development and easy packaging of the game into .zip file

Everything else is up to you and your needs. If you will participate in js13kGames competition then it's better to draw your game entities directly with Canvas API to save some bytes and fit the rules. If it's not a case this project perfectly fits as a starter kit for a regular HTML5 game and you're welcome to use some complex rendering solutions like PIXI.js, etc.

Development

npm install
npm run watch
# open ./build/index.html in browser

Packaging

npm run package
# share ./build.zip with the world 

MIT Licensed