Weird gaps between tiles, when they are correctly spaced.
In my game, in some sizes the tiles are correctly positioned, but in smaller sizes there are tiny gaps for some reason, any ideas why that may happen?
In my game, in some sizes the tiles are correctly positioned, but in smaller sizes there are tiny gaps for some reason, any ideas why that may happen?
Are you just using screen.drawMap()
to draw the tilemap? It should draw the map on a buffer and then put that on the canvas to avoid one-pixel gaps.
Sorry, I forgot about the post, here is the link to the project: https://microstudio.io/i/Bluecat/newgame/