Skip to content
Thorbjørn Lindeijer edited this page Dec 21, 2017 · 6 revisions
Library: Phaser
Language: JavaScript or TypeScript
Links: repo, documentation

Summary

Phaser is a 2D game framework for making HTML5 games for desktop and mobile web browsers. It is very actively developed, as it's one of the most popular HTML5 game framework. It doesn't support reading from a TMX file, but it can load tilemaps that are exported to JSON or CSV. It supports a lot of tile manipulation functions, such as swapping tiles, replacing them, and also updating the map in realtime.

It uses a custom build of Pixi.js for WebGL and Canvas rendering.

Examples

The project alone has lots of examples in their website, there is also a section focusing on tilemaps and tilesprites.

Building From Source

Phaser is provided ready compiled in the build folder of the repository. There are both plain and minified versions. The plain version is for use during development, and the minified version for production.

To build Phaser, you'll need Grunt and Node.js set up, complete instructions can be found on their repo page.

Projects Using This Library

Games built using Phaser are added weekly on their site.