A Typescript template for writing HTML5 Phaser games with Typescript

Article by Richard Davey. Posted on 6th Nov 2017.   @photonstorm

image

mattherman has created a Typescript template for creating Phaser games.

"The files included are a mixture of of the basic template provided in the phaser-ce repository and the Advanced Phaser and Typescript Projects tutorial provided on the Photon Storm blog.

The template includes the phaser-ce library, the phaser typescript definitions, and a tsconfig that will generate a bundled javascript file for the game.

The resulting output of building the project is a runnable "game" that can serve as a starting point for any Phaser game."

Download the source to start making your own Phaser games in Typescript.

Read More