Description
phaser3-typescript is a collection of game examples and boilerplates for building HTML5 games with Phaser 3 and TypeScript, maintained by digitsensitive since 2018. Phaser itself is a free, open source HTML5 game framework, and this repository aims to give developers working code to learn from. It includes Webpack and Parcel boilerplates for starting new projects, plus many small example games and demos such as Asteroid, Breakout, Candy Crush, Flappy Bird, Snake, Space Invaders, Super Mario Land and an endless runner. There are also technical demos covering cellular automata, the Game of Life, fractal trees, procedural generation, raycasting and point-in-polygon tests, along with a factory method pattern example. Projects are started through scripts in package.json, and the code is formatted with Prettier using a shared configuration.…
Highlights
- Webpack and Parcel boilerplates for Phaser 3 with TypeScript
- Example games including Breakout, Snake, Flappy Bird and Space Invaders
- Algorithm demos such as raycasting and procedural generation
- Per-project tsconfig and shared Prettier configuration
Ratings & Reviews
No ratings yet
Be the first to rate Phaser3 Typescript.
People also visit
Phaser By Example
The source code to the games that go with the Phaser by Example book

threejs-gameplay-systems
Build and iterate playable Three.js game systems: starter scaffold
PokeMMO-Online-Realtime-Multiplayer-Game
A simple realtime Pokémon MMO game build with Phaser 3, Colyseus.io & Webpack 4
Phaser3 Typescript FAQ
What is in this repository?
Phaser 3 game examples and project boilerplates written in TypeScript, from small arcade clones to algorithm demos.
How do I get started?
Clone the repository, then use the scripts in package.json to start a boilerplate or example, for example the Webpack Boilerplate or Candy Crush project.
Which boilerplates are included?
A Webpack Boilerplate and a Parcel Boilerplate.
Can I contribute?
Yes. The maintainer welcomes ideas and corrections to improve the repository.
What are the best Phaser3 Typescript alternatives?
Popular alternatives to Phaser3 Typescript include Phaser By Example, Excalibur and Third-Person-MC. See all Phaser3 Typescript alternatives




