Skip to content

Phaser 3.87 doc issue deriving on unexpected visual @ emitters under CANVAS rendering #7016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
urueda opened this issue Jan 24, 2025 · 2 comments
Assignees

Comments

@urueda
Copy link

urueda commented Jan 24, 2025

  • Phaser Version: 3.87.0

Rendering: Phaser.CANVAS (WEBGL w/out issues)

Issue happens using onUpdate w/out onEmit at emitter configuration
Expected: emitter particles should only display at green circle (emitting spot)
Unexpected: emitter particles displaying at red circle (out of emitting spot)

You can provide either one or both functions. The onEmit is called at the start of the particles life and defines the value of the property on birth. The onUpdate function is called every time the Particle Emitter updates until the particle dies.

@zekeatchan
Copy link
Collaborator

Hi @urueda. Thanks for submitting this issue. @samme has submitted a PR to fix this and we've merged it to the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.

@urueda
Copy link
Author

urueda commented Feb 6, 2025

Hi @urueda. Thanks for submitting this issue. @samme has submitted a PR to fix this and we've merged it to the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.

As the issue is exposed @ Sandbox ... might I suggest that the sandbox also includes the master branch version ? Probably that would benefit everyone, specially when testing is a concern. Thanks

UPDATE: tested through the Dev Build @ Sandbox and issue is fixed. Should also be merged into Phaser 4 as Beta versions got the issue too at the sandbox example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants