A tiny, editable 2D game engine in JS.
Each folder introduces a new feature useable in your own project if you need it.
Everything is optional and configurable through global variables.
The code is commented and editable using the links below.
-
Canvas + 2D context, optionally responsive and centered (http://xem.github.io/miniGameEngine/editor?demo=1)
-
Tiled map (http://xem.github.io/miniGameEngine/editor?demo=2)
-
Top-down view, movement and collisions (http://xem.github.io/miniGameEngine/editor?demo=3)
-
Side view and gravity (http://xem.github.io/miniGameEngine/editor?demo=4)
-
Bounciness (http://xem.github.io/miniGameEngine/editor?demo=4)