8000 GitHub - MakingBrowserGames/phaser3-typescript: Phaser 3 and TypeScript
[go: up one dir, main page]

Skip to content

MakingBrowserGames/phaser3-typescript

 
 

Repository files navigation

Phaser 3 and TypeScript

Boilerplate, Tutorials and more for Phaser 3 in Typescript

Phaser is a fast, free, and fun open source HTML5 game framework. Here you will find a boilerplate for Phaser 3 in TypeScript and Webpack, Tutorials and more. I have used the Typescript definition file from @troyedwardsjr.

Feedback is always welcome!

Phaser

Phaser 3.3.0 | Typescript 2.7.2 | Webpack 4.2.0

Install

Navigate to the folder and clone this repository.

git clone https://github.com/digitsensitive/phaser3-typescript.git

Build and Run

Building and running is as easy as the three following steps:

  1. navigate to root folder
  2. npm install to install dependencies (folder: node_modules)
  3. npm run dev to build bundle.js & start server.

Alternatively to build a version npm run build.

Game Examples

Coin Runner

Cheat Sheets

The Game Config Class

About

Phaser 3 and TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.6%
  • JavaScript 7.9%
  • CSS 7.0%
  • HTML 4.5%
0