Skip to content

voronianski-on-games/js13kGames-boilerplate

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Minimum game starter kit, perfect for js13kGames compo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published