Phaser v4.2.1 "Giedi"

Phaser v4.2.1 "Giedi" was released on 9th July 2026.

Phaser 4 or Phaser AE?

Phaser 4

For developers who write their game's code by hand.

You learn the API and write the code yourself. An AI assistant can help, but Phaser 4's API is large, and an assistant has to hold a lot of it in mind to be any use.

Phaser AE

For making games with AI.

If an AI will be writing most of your code, use Phaser AE instead. It's built for that, it's free, and your game's source code is yours to read and change: nothing is locked away.

Try Phaser AE

Download

To download Phaser v4.2.1 "Giedi" use the links below:

Note: Phaser is a JavaScript library. It is not a program you run. It is a file you include in your JavaScript code. Please read the Getting Started guide for more details.

npm

This version of Phaser is available on npm. Install via:

npm install [email protected]

Also, see our create game app for a quick way to get started with Phaser and a bundler.

CDN

Phaser is available on the jsDelivr and cdnjs CDNs. Copy one of the following lines to your html:

//  Un-minified
https://cdnjs.cloudflare.com/ajax/libs/phaser/4.2.1/phaser.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/phaser.js

//  Minified
https://cdnjs.cloudflare.com/ajax/libs/phaser/4.2.1/phaser.min.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/phaser.min.js

GitHub

View the GitHub Release Page for this version.

Browse the Phaser v4.2.1 "Giedi" GitHub repository as it existed on 9th July 2026.

Create Game App

Our interactive installer app is now available. Run from the command-line, this is the easiest way to get started with Phaser and includes example games, bundlers such as Vite and support for all popular web frameworks including React, Vue and Next.js.