Skip to content
| Marketplace
Sign in
Visual Studio>Templates>Phaser Advanced TypeScript Template
Phaser Advanced TypeScript Template

Phaser Advanced TypeScript Template

Fairydhwen

|
4,800 installs
| (2) | Free
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).
Download

Phaser Advanced TypeScript Template

Preview of this template

Start new project

Menu (click logo to start)Simple scene (input L/R to move)

Description

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
  • Remember to set index.html asStart Page

Related Links

Phaser.io

TypeScript

GitHub

We tried to merge best pratices and sources in order to build this template. So you can develop small to large projects.

You just have to follow the guideline of this struture (but you can adapt it accordingly to your needs as well):


project structure

@Fairydhwen - Twitter  |  Youtube
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft