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

Unwanted smoothing (sprite.smoothed = false) #2317

Closed
sergey7c4 opened this issue Feb 3, 2016 · 5 comments
Closed

Unwanted smoothing (sprite.smoothed = false) #2317

sergey7c4 opened this issue Feb 3, 2016 · 5 comments

Comments

@sergey7c4
Copy link
Contributor

I used Chrome 48, IE 11, and Edge.
Example: phaser pixel art example.zip

@sergey7c4 sergey7c4 changed the title Unwanted smoothing (Phaser.CANVAS + Phaser.ScaleManager.RESIZE) Unwanted smoothing (sprite.smoothed = false) Feb 3, 2016
@photonstorm
Copy link
Collaborator

Sorry but I need an example uploaded somewhere I can run.

@sergey7c4
Copy link
Contributor Author

@djmittens
Copy link

I have also been running into this issue for a while, but i decided that this approach works the best to turn the smoothing off globally

Phaser.Canvas.setImageRenderingCrisp(game.canvas)

Works in the latest stable chrome.

from #1586

@ForgeableSum
Copy link

I've also run into this issue quite often. It seems Chrome does not want to respect smoothing regardless of what you have the property set. Sometimes it works, sometimes it doesn't. It's odd! I think it must be a Chrome bug.

photonstorm added a commit that referenced this issue Apr 4, 2016
@photonstorm
Copy link
Collaborator

The fix for this is now merged into dev.

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