Closed gammafp closed 6 years ago
Thanks! I had a problem that tiles wasn't rendered properly when setting pixelArt to true. Can you confirm that the issue is gone: https://github.com/photonstorm/phaser/issues/3229? If so I'll absolutely merge your PR. I'd merge a solution where the tile sheet is fixed to solve the issue too, that the border pixels of each tile are repeated in a frame. I'd like to keep the margins of the body to 0 for when we can scale the game all over the window with the scale manager.
Ok. I don't want to lock the game to canvas, especially when tint (star) is dependent on WebGL. The best solution for clean pixels is to adapt the tilesheet.
Yes, the best solution is to adapt the tilesheet. Thank you for your project.
I have removed the CSS from the html because I think that with the Phaser configuration tool you can add the pixelperfect.
Before:![https://gyazo.com/18d8ca8e7cdd2cc254dc8a918dda24a1](https://i.gyazo.com/18d8ca8e7cdd2cc254dc8a918dda24a1.png)
After:![https://gyazo.com/ad2343abac7ee8f60b05fc8e27ca5b6d](https://i.gyazo.com/ad2343abac7ee8f60b05fc8e27ca5b6d.png)
The map is finished.![https://gyazo.com/23004a05cba6e3a8f78be25d3dffb6dc](https://i.gyazo.com/23004a05cba6e3a8f78be25d3dffb6dc.png)