An HTML5 canvas game engine, because drawing is fun!
- Rollup.js:
npm install -g rollup
Install node deps:
npm install
Files in src
compile to the file in build
. To build/watch:
npm run watch
You can play directly in the browser by opening index.html
or you can run in a minimal Electron container with:
npm start
Controls:
- arrow keys/wasd: move character
- tab: switch character
- +/-: increase/decrease movement speed
- space: teleport character to tile 0,0
- 0-9: toggle canvas layer visibility