/making-your-first-phaser-3-game-with-typescript

My approach to official tutorial from Phaser 3 with Typescript

Primary LanguageTypeScriptMIT LicenseMIT

Playable demo is available here.

Introduction

Hi folks, this is my approach to the tutorial from this Phaser 3 introduction tutorial.

I wanted to write it in complete typescript, with correct types and fast building speeds. That's the reason why I use Vite for instant server and builds. I also added some bonus codes, check them out at the bottom!

If you are starting with Phaser 3 from scratch, then I recommend reading the code from the first commit up to the last one.

Usage

Run development with instant reload in the browser on localhost:3000

yarn dev

Run build. It creates a dist/ folder, that you can serve on your website.

yarn build

Run server from the created build

yarn preview

All chapters