phaserjs / phaserjs/phaser

Particle Emitter alpha default Phaser 3.88.2

Open
#7,044 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In Phaser version 3.88.2, we noticed an issue with the particle system.
Previously, when emitting particles, their alpha value defaulted to undefined and we would set it to start at 0, but now it starts at 1. Since we animate the particle alpha, this change is causing weird behavior with the existing particle emitters.
It would resolve the issue if the default alpha could be set to 0 or if it was configurable.
Thanks!

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

No file or test is named. Trace Phaser's particle emitter alpha initialization and compare the behavior in version 3.88.2 with the prior behavior. Done means the default or configuration produces the intended starting alpha without breaking existing particle emitters; add or update coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.