Phaser 4 Genesis
Rebooting the Phaser universe from scratch.

Examples can be found in the Phaser 4 Examples repo.
Developer updates can be found on the Phaser Patreon.
Get the latest release from npm:
npm install @phaserjs/phaser --save-dev
Keep updating it. It's changing multiple times per day.
You can find all packages under the @phaserjs organization.
npm development scripts
lint | Run ESLint across the whole src folder in fix mode |
debug | Build the main Phaser 4 modules, useful for checking for package errors |
build | Build all of the Phaser 4 modules |
watch | Build all modules and enter watch mode |
build-dev | Build the dev/index.ts script to run a local test without publishing |
watch-dev | Build and watch the dev/index.ts script |
build-fastdev | Build just the dev/index.ts without rebuilding the whole of Phaser |
watch-fastdev | Build and watch the dev/index.ts script without rebuilding Phaser |
VS Code Extensions
If you wish to help with development of Phaser, the following VS Code Extensions are useful: