Discord
Login
Community
DARK THEME

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?

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.

make the code public - and give the link.

Sorry, I forgot about the post, here is the link to the project: https://microstudio.io/i/Bluecat/newgame/

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community