Potion is a game library with simple and useful abstractions.
- Asset loader
- Input event handling
- Sound manager
- State manager
- Multi-layered canvas
- HiDPI monitor support
- Debugger for in game logging and switch toggling
Potion is compatible with CommonJS modules. Can be used with browserify, webpack and others. You can install it from npm.
npm install potion
There is also a built version you can download
var Potion = ;var app = Potion;