Software Development
Phaser4 Core
The rules every piece of Phaser 4 code must follow, and a map of which Phaser skill to load for each task. Use at the start of any Phaser 4 work: making a new game, adding a Scene, porting from Phaser 3, or when unsure which skill applies. Corrects the v3 habits that break v4 code: preFX, postFX, pipelines, setPipeline, BitmapMask, setMask, Geom.Point, Math.PI2, Mesh and Plane don't exist; setTintFill only logs an error; Math.TAU is now 2 PI; the default game size is 1024x768; roundPixels defaults to false; WebGL-only features need a Canvas guard. Triggers on: Phaser, Phaser 4, phaser game, new game, game config, scene, which skill, v3 code in a v4 project.
- Publisher / source
- phaserjs/phaser (found on skills.sh)
- Upstream record
- phaserjs/phaser
- Version
- Version 1
- Published
- Publication review
- Approved for publication
- Content fingerprint
e42be6a09a94d5a67c8711b70fcc3763f9fc3bc2c8f1dd657da0cdab28835d84