https://github.com/paratron/gamekit
Minimal, Promise/A based HTML5 canvas game engine
https://github.com/paratron/gamekit
Last synced: 9 months ago
JSON representation
Minimal, Promise/A based HTML5 canvas game engine
- Host: GitHub
- URL: https://github.com/paratron/gamekit
- Owner: Paratron
- License: other
- Created: 2013-08-16T20:27:32.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-04-18T18:22:41.000Z (over 10 years ago)
- Last Synced: 2024-10-19T01:18:51.690Z (about 1 year ago)
- Language: JavaScript
- Size: 1.87 MB
- Stars: 20
- Watchers: 6
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gamekit
=======
> Minimal, Promise/A based HTML5 canvas game engine [/buzzwords]
Gamekit is a minimal approach to a game engine using HTML5 canvas2D.
Its implementing a couple of features I found necessary for games and don't want to implement over and over.
Also, since its based on Promises, it allows you to do super cool stuff like this:
gamekit.fetchAssets('assets.json').then(gameSetup).then(gamekit.start);
Currently implements:
* Promises! jay
* Asset Loader
* Module Loader
* Renderloop
* Layers support
* Sprites (rotate/stretch/repeatable)
* Property tweening on Sprites (absolute + relative)
* Entity Groups
* Keyboard input capturing
* Pointer (mouse, touch) input capturing
* Pointer area objects
* Detecting pointer events directly on sprites
* Text Labels
* Spritemaps
* Sprite Atlases
* TileGrid (Wanna do a tilebased game?)
* TileMap (Able to "understand" Tileds Map Format (JSON))
Documentation (WIP) under [http://wearekiss.com/gamekit](http://wearekiss.com/gamekit).
The Tilebased elements need to be considered in beta stadium right now - I did not polish or document them so far.
xoxo,
Chris