This is a basic game library for 2D HTML5 games, written in TypeScript.
Features include:
First, install gulp
using npm
if you do not already have it:
npm install -g gulp
Next, check out the project and install all dependencies:
git clone https://github.com/bobbylight/gtp.git
cd gtp
npm install
The TypeScript code lives in src/
, and is transpiled into dist/
. A single
file containing all transpiled content is also created in dist-all/
. An
example game (itself a WIP also) lives in example/
. Both the library and the
example game can be built via running gulp:
gulp
Tasks are also provided for individually running unit tests, linting, etc.
Generated using TypeDoc