First Game Example Needs Upgraded to Support Phaser 4
Author: DylanCheetahCreated Apr 11, 2026Updated Sep 30, 2026
In the first game example from the Phaser docs, the lines which call the `stars.children.iterate` method need to be changed to `stars.children.forEach` due to a breaking API change in Phaser 4.
Source: phaserjs/phaser