Skip to content

Paratron/gamekit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

The Tilebased elements need to be considered in beta stadium right now - I did not polish or document them so far.

xoxo, Chris

About

Minimal, Promise/A based HTML5 canvas game engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published