Pixels of atlas sprites breaks down when zoom ratio is high enough #6899
CinnamonPan
started this conversation in
General
Replies: 1 comment
-
Has the atlas been created with frame extrusion / border padding enabled? If not, make sure it is updated to do so, then re-test this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version
Phaser Version: 3.80.0
Operating system: Android
Browser: Chrome
Description
I'm using atlas feature of pixel graphic sprites. I'm not sure whether it's an error or not, but when the zoom ratio is 3 or higher, there's a phenomenon where the area of atlas and pixels break down. Not all atlas sprites have this issue. I guess only sprites that have large size. It only happens on mobile devices. I guess it is something related to devicePixelRatio, but I couldn't find any relationship.
Example Test Code
Additional Information
Desktop.mp4
Mobile.mp4
TexturePack.zip - used sprites and json files
Beta Was this translation helpful? Give feedback.
All reactions