# phaser v4.0.0 — Phaser v4.0.0 - Product: phaser (https://whatsnew.fyi/product/phaser) - Vendor: phaserjs - Date: 2026-04-10 - Version: v4.0.0 - Original notes: https://github.com/phaserjs/phaser/releases/tag/v4.0.0 - Permalink: https://whatsnew.fyi/product/phaser/releases/v4.0.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **changed** — Replace v3 pipeline system with a new node-based renderer where each render node handles a single task with fully managed WebGL state and built-in context restoration - **changed** — Unify FX and Masks from v3 into a single powerful Filter system applicable to any game object or camera - **added** — Add Filter system with Blur, Glow, Shadow, Pixelate, ColorMatrix, Bloom, Vignette, Wipe, ImageLight, GradientMap, Quantize, and Blend filters - **added** — Add SpriteGPULayer to render millions of sprites in a single draw call with GPU-driven animations on position, rotation, scale, alpha, tint, and frame - **added** — Add TilemapGPULayer to render entire tilemap layers as a single quad with support for up to 4096 x 4096 tiles - **changed** — Overhaul tint system with six tint modes: MULTIPLY, FILL, ADD, SCREEN, OVERLAY, HARD_LIGHT, separating color and mode as distinct concerns - **added** — Add new game objects: Gradient, Noise (Cell 2D/3D/4D, Simplex 2D/3D), CaptureFrame, and Stamp - **changed** — Improve lighting system to be activated with sprite.setLighting(true) with self-shadows and explicit light height support across most game objects - **changed** — Implement cleaner config-based Shader API with #pragma GLSL directive support - **changed** — Enhance TileSprite to support atlas frames and tile rotation After years of development, Phaser 4 is here. This is the biggest release in Phaser's history - a ground-up rebuild of the WebGL renderer with a completely new architecture, while keeping the API you know and love. ##### Highlights - **New Render Node Architecture** - The v3 pipeline system has been replaced with a clean, node-based renderer. Each render node handles a single task, WebGL state is fully managed, and context restoration is built in. Faster, more reliable, and much easier to extend. - **Unified Filter System** - FX and Masks from v3 are now a single, powerful Filter system. Apply filters to any game object or camera with no restrictions. Ships with Blur, Glow, Shadow, Pixelate, ColorMatrix, Bloom, Vignette, Wipe, ImageLight, GradientMap, Quantize, Blend, and many more. - **SpriteGPULayer** - Render a million sprites in a single draw call, up to 100x faster than standard rendering. GPU-driven animations on position, rotation, scale, alpha, tint, and frame. - **TilemapGPULayer** - Render an entire tilemap layer as a single quad. Per-pixel shader cost means up to 4096 x 4096 tiles with no performance penalty. Perfect texture filtering with no seams. - **Overhauled Tint System** - Six tint modes: `MULTIPLY`, `FILL`, `ADD`, `SCREEN`, `OVERLAY`, `HARD_LIGHT`. Color and mode are now separate concerns. - **New Game Objects** - Gradient, Noise (Cell 2D/3D/4D, Simplex 2D/3D), CaptureFrame, and Stamp. - **Improved Lighting** - As simple as `sprite.setLighting(true)`. Self-shadows, explicit light height, works across most game objects. - **Shader and TileSprite Improvements** - Cleaner config-based Shader API, `#pragma` GLSL directives, TileSprite now supports atlas frames and tile rotation. - **AI Agent Skills** - 28 comprehensive skill files included in the repository covering every major Phaser subsystem, plus a dedicated v3 to v4 migration skill. Point your AI coding agent at the `skills/` folder for deep Phaser 4 knowledge. ##### Install ```bash npm install phaser ``` ##### Links - 📖 [Full Changelog](https://github.com/phaserjs/phaser/blob/master/changelog/v4/4.0/CHANGELOG-v4.0.0.md) - 🔄 [Migration Guide (v3 to v4)](https://github.com/phaserjs/phaser/blob/master/changelog/v4/4.0/MIGRATION-GUIDE.md) - 📚 [API Documentation](https://docs.phaser.io/)](https://docs.phaser.io) - 🎮 [Examples](https://phaser.io/examples) - 💬 [Discord](https://discord.gg/phaser) ##### Thank You Phaser wouldn't have been possible without the fantastic support of the community. Thank you to everyone who supports our work, who shares our belief in the future of HTML5 gaming, and Phaser's role in that. Happy coding everyone! Rich and the whole team at Phaser Studio