It is hard to describe so I will put a video: https://imgur.com/pCqGC5i
If a player is near the specific element (only with z
property) then an issue from the video and image occurs.
It also happens only with zoom set by scene.viewport?.setZoom(2);
even for 1.1
Here is the tileset, but I think it is fine: https://opengameart.org/content/lpc-tile-atlas
Do you know why it happens?
Edit: Without scene.viewport?.setZoom(1.1)
it also happens, but for other elements