Skip to content

austingray/canvas-game-engine

Repository files navigation

Canvas Game Engine

An HTML5 canvas game engine, because drawing is fun!

Prerequisites

  • Rollup.js: npm install -g rollup

Development

Install node deps:

npm install

Files in src compile to the file in build. To build/watch:

npm run watch

Play

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

About

An HTML 5 canvas game engine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages