Skip to content
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

Sprite "wobble" when panning scene camera. Seems related to use of setPipeline('Light2D') #6765

Open
UncleChris100 opened this issue Mar 10, 2024 · 2 comments

Comments

@UncleChris100
Copy link

UncleChris100 commented Mar 10, 2024

Version

  • Phaser Version: 3.80
  • Operating system: MX Linux
  • Browser: Non-specific

Description

Sprites "wobble" when panning scene camera. Seemingly not quite settling on a static position. For sprites not using "Light2D" there is no issue.

Example Test Code

Here is an example CodePen that demonstrates my sprite "wobble" issue. After a lot of debugging, it seems to be related to setPipeline('Light2D'). Version 3.60 did not exhibit this issue but subsequent releases do.

https://codepen.io/UncleChris/pen/wvZMBWO

Additional Information

@photonstorm
Copy link
Collaborator

This sounds like a duplicate of #6698 ? Will keep both open for now just in case.

@UncleChris100
Copy link
Author

It could be the same issue although in my project they are on even-numbered pixel boundaries as are the sprites in my CodePen example above. Maybe this has to do with where the sprites are when the camera pans, offsetting them to an odd number.

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

4 participants