phaserjs / phaserjs/phaser

First Game Example Needs Upgraded to Support Phaser 4

Open Beginner friendly
#7,275 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
40.3k
Forks
7.2k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the first game example in the Phaser documentation and locate the lines calling stars.children.iterate. Change those calls to stars.children.forEach, then run or load the example to confirm it works with Phaser 4 and the stars behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, game-dev
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.