odelia Posted May 15, 2016 Share Posted May 15, 2016 I have a game were the user put stickers on the stage. he can scale them and rotate... The PNG file is in a fitting size so the user can scale it without loosing quality. But, when I scale the image down it is crisp... Why is that and how can I fix it? Thank you :] Link to comment Share on other sites More sharing options...
shohan4556 Posted May 15, 2016 Share Posted May 15, 2016 may be this size of the image is not power of two if it is 529px then make it 512px and now it should work fine. Link to comment Share on other sites More sharing options...
odelia Posted May 16, 2016 Author Share Posted May 16, 2016 I change the PNG to 512/512 and it's still not smooth... The lines are crisp. This is the PNG file: Link to comment Share on other sites More sharing options...
quiphop Posted May 16, 2016 Share Posted May 16, 2016 try somesprite.smoothed = true; this should stops it from blurring when scaled up; Also try one css trick described HERE Link to comment Share on other sites More sharing options...
odelia Posted May 16, 2016 Author Share Posted May 16, 2016 The smoothed is already true.. The image-rendering supposed to be if I want it to be crisp.. no? the Auto is already defined by default... Link to comment Share on other sites More sharing options...
Recommended Posts