What problem does it solve?
This migration guide helps Phaser developers upgrade from v3 to v4 by detailing breaking changes, renderer architecture shifts, and API updates to create a smooth transition.
Core Features & Use Cases
- Renderer overhaul guidance from Pipelines to Render Nodes, with a practical migration checklist.
- FX and Masks unified into the Filter system, with steps to adapt v3 FX and BitmapMask usage.
- Tint system, camera matrix, texture coordinates, and lighting changes explained with concrete code examples.
- DynamicTexture/RenderTexture handling updated to require render() calls and new capabilities like preserve and callback.
- Shader API updates and GLSL loading changes to align with the v4 pipeline.
- Guidance on removed Game Objects (Mesh, Plane) and removed plugins.
- Migration checklist to track progress and validate updates across the codebase.
Quick Start
Begin by mapping v3 pipelines to render nodes, replacing FX with filters, updating camera and texture handling, and validating every scene against the migration checklist.