Potion
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
Examples
Documentation
Installation
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
Usage
var Potion = ; var app = Potion;