Examples

These are some examples on how to use the 'tiled-canvas' library.

The tileset is by @finalbossblues and has been converted from .tmx to the tiled json export format.
For more information, see here.

Example 1: display .tmx.json file

Example 2: using zlib-encoded .tmx.json file

Example 3: animation

Example 4: calculate collision layer out of "Fringe" layer, display it.