Cedric Posted March 13, 2015 Share Posted March 13, 2015 I've made a game that has a width of 52 and a height of 100, so the game can easelly scale for devices with an aspect ratio of 16:9. However when I look at my mobile device (through the CocoonJs app) everything looks antialised,my sprites are made just with pixels. How can I get it to look like pixels? PS: the game can be found inside attachment Best Regards, Cedric Van Roeyendoodle jump remake.zip Link to comment Share on other sites More sharing options...
mwatt Posted March 13, 2015 Share Posted March 13, 2015 I"m not sure about this, but you might try setting the smoothed property of each sprite to false right after you create them. I believe it is set to true by default. Link to comment Share on other sites More sharing options...
spencerTL Posted March 13, 2015 Share Posted March 13, 2015 Here's a guide on this from Phaser's developer: http://www.photonstorm.com/phaser/pixel-perfect-scaling-a-phaser-gameIt may be a bit out of date as the Phaser scale manager has been overhauled since so also refer to the Phaser Scale Guide eBook if there's any problems with it. Link to comment Share on other sites More sharing options...
Cedric Posted March 14, 2015 Author Share Posted March 14, 2015 Thank you for your answeres, I've bought the scalemanager book and I couldn't find anything about smoothing in it.Setting the sprite his moothed property didn't work (I did: player.smoothed = false;) Link to comment Share on other sites More sharing options...
Recommended Posts