3.0.1 • Published 2 years ago

gtp v3.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

GTP - A very basic 2D HTML5 game library

Build CodeQL codecov

This is a basic game library for 2D HTML5 games, written in TypeScript.

Features include:

  • Input
  • Audio
  • Asset management (async loading of graphics, sounds, resources)
  • Game states
  • Tiled map support (supports 1.8.x JSON format)

Hacking

First, 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 lib/ by running npm. Useful commands:

npm run clean   # deletes the build, doc, and coverage directories
npm run build   # build
npm run watch   # builds and watches for changes
npm run lint    # Lints the source code
npm run test    # runs unit tests and generates coverage report
npm run doc     # generates documentation

See package.json for all available commands.

3.0.1

2 years ago

3.0.0

2 years ago

2.0.5

4 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

6 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.6.2

7 years ago

0.6.1

7 years ago