GarryPlays Posted June 25, 2018 Share Posted June 25, 2018 Hi, brand new to phaser 3. One issue with tileSprites. in the code below I add a sprite via sprite, and via tileSprite (which I actually want) But no matter what, the sprite looks great: But the tileSprite looks badly scaled Here the entire code And here even the sky if you want to have a play (see attached) Dreambubble, pop, uhm, am I doing something wrong? Thank you and hello Link to comment Share on other sites More sharing options...
aylictal Posted June 25, 2018 Share Posted June 25, 2018 Something you can try (although I'm not sure if it will work) inside your style tag include: canvas { image-rendering: pixelated; } Link to comment Share on other sites More sharing options...
GarryPlays Posted June 26, 2018 Author Share Posted June 26, 2018 bummer, that didn't help Link to comment Share on other sites More sharing options...
aylictal Posted June 28, 2018 Share Posted June 28, 2018 Another idea (may work may not): In var config, add following property: pixelArt: true, Link to comment Share on other sites More sharing options...
Sawamara Posted July 1, 2018 Share Posted July 1, 2018 Yes, pixelArt: true is the one that actually solves this one. aylictal 1 Link to comment Share on other sites More sharing options...
aylictal Posted July 2, 2018 Share Posted July 2, 2018 great! i've wrestled with a lot of these types of issues, even outside of phaser, can be a pain. Link to comment Share on other sites More sharing options...
Recommended Posts