An advanced TypeScript template to fast-start your Phaser games (HTML5 Game Framework). This template includes 4 classical states : Boot, Preload, Menu and a Level with a simple built-in example (image, sprite, atlas, sound, mouse-click and keyboard inputs).
An advanced TypeScript template to fast-start your Phaser games (HTML5 Game Framework).
This template includes 4 classical states :Boot, Preload,Menu and a Level with a simple built-in example (image, sprite, atlas, sound, mouse-click and keyboard inputs).
How to use it ?
You just need to start a new project and select Installed > Templates > TypeScript > Phaser Application with TypeScript :
Enter your project's name and chose the folder options. Your project's namespace will be automatically updated.
To test the project, open the build\index.html and press F5
Of course TypeScript is required :npm install -g typescript