Download Latest Version Phaser v4.2.1 source code.tar.gz (15.9 MB)
Email in envelope

Get an email when there's a new version of Phaser

Home / v4.2.1
Name Modified Size InfoDownloads / Week
Parent folder
phaser-arcade-physics.min.js 2026-07-09 1.3 MB
phaser-arcade-physics.js 2026-07-09 8.2 MB
phaser.min.js 2026-07-09 1.4 MB
phaser.js 2026-07-09 8.8 MB
phaser.esm.min.js 2026-07-09 1.4 MB
phaser.esm.js 2026-07-09 8.8 MB
Phaser v4.2.1 source code.tar.gz 2026-07-09 15.9 MB
Phaser v4.2.1 source code.zip 2026-07-09 18.0 MB
README.md 2026-07-09 996 Bytes
Totals: 9 Items   63.7 MB 0

Version 4.2.1 - Giedi - 9th July 2026

Fixes

  • Stencil option stencilInvert works correctly (an alpha bug prevented it from having the intended effect)
  • Framebuffers now correctly clear stencil on use
  • The global stencil settings defaulted to deactivating the stencil write mask, so it couldn't actually run the clear process correctly. Write mask is now enabled by default, but is never triggered because default stencil operations keep existing values.
  • Remove inline access of Phaser namespace from CombineColorMatrix, ImageLight, and Texture. These would break in the ESM build. Thanks @scobo!
  • Fix ScaleManager not resizing to parent container. Fix [#7213] (thanks @VijayVPatil13)
  • Docs: correct AnimationManager get() return type (thanks @samme)
  • Tweens with a startDelay set weren't having their state updated from START_DELAY to ACTIVE. This left them stuck in their initial state, even once the startDelay had elapsed. Fix [#7093] (thanks @Bambosh)
Source: README.md, updated 2026-07-09