Closed mattiadelfranco closed 3 years ago
Hey Mattia, sorry to see those blurry lines. I believe this is what happens when images rendered on sub-pixel on a html canvas. Unfortunately, rounding the positions to fix this creates misalignments in isometric layout. Not really sure if it will help but you can try upgrading pixi.js (which is the renderer) version inside the traviso. This is something I have been forgetting for some time now. I'll try to upgrade it as soon as possible.
I've resolved by adding this line in my code: renderer.roundPixels = true;
Depending on the position of the object, I get some blurried items: really bad for pixel art items/objects that needs to be pixel-perfect without any filter applied on it.
There are my codes:
and mapData.xml