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

Images can be blurry with CANVAS renderer and roundPixels #5774

Closed
samme opened this issue Jul 9, 2021 · 2 comments
Closed

Images can be blurry with CANVAS renderer and roundPixels #5774

samme opened this issue Jul 9, 2021 · 2 comments

Comments

@samme
Copy link
Contributor

samme commented Jul 9, 2021

Version

  • Phaser Version: 3.55.2 and earlier

Description

Create a game with roundPixels on and the CANVAS renderer. Create an image game object at non-integer coordinates, e.g. (0.5, 0.5). The image appears blurry.

Example Test Code

https://codepen.io/samme/pen/dyWGzdO

@photonstorm
Copy link
Collaborator

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.

@photonstorm
Copy link
Collaborator

This issue has been mentioned on Phaser. There might be relevant details there:

https://phaser.discourse.group/t/sprite-distortion-with-camera-follow-using-bounds/11243/4

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

2 participants