Tiles are bleeding in second layer


#1

I am creating a Pacman game, where I have two layers so far. One is for the walls and another is for the dots.

The problem is that the tiles from the second layer are bleeding and showing up in weird positions. Here are images of what it looks like in the game versus what the editor shows.


(Thorbjørn Lindeijer) #2

So essentially your game is not rendering the layer with dots in the same place as where you put it in Tiled. How do you expect us to be able to help you with that? At the very least tell us which library or framework you’re using so we may be able to point you somewhere.


#3

It turns out it wasn’t a problem with Tiled, but I added some code to offset the map. Removing that code fixed the problem