Matheus Vinícius Posted May 2, 2020 Share Posted May 2, 2020 Hello guys, I'm having problems with a sprite, when moving it with: Quote // Example sprite.x = 0.5; sprite.y = 0.3 See the image (After change x,y) https://prnt.sc/s9v9t6 Before: https://prnt.sc/s9vacy My ask is: It's possible change the sprite position with floating numbers without getting blurry image? (Example: 1.5421); * Note: I'm using PNG images Sorry for my bad english. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 2, 2020 Share Posted May 2, 2020 sprite.roundPixels = true Quote Link to comment Share on other sites More sharing options...
Matheus Vinícius Posted May 3, 2020 Author Share Posted May 3, 2020 4 hours ago, ivan.popelyshev said: sprite.roundPixels = true Solved! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.