A 2d game engine, for simple browser games using the html canvas.
Link the game_engine.js file.
You can optionally use the
style.css for some basic styling, but its not necessary for the engine to work.
Just something to get you started, and then later on you can use your own styling.
All the css classes/ids from the engine start with the string
Game-, so its easy to avoid conflicts (for example,
Is available in http://game-engine1.herokuapp.com/.
cd build- Move to the build directory.
npm install- Install the build dependencies.
grunt- Development build available in the
grunt docs- Build the documentation, in the
grunt release- Build the release version in the
To try out the examples, start a local server at the root path (otherwise the preloading of assets won't work).
For example with python3:
python -m http.server