I am in the process of making a game, at which point I recognized bleeding happening with the tiles. It looks like the solution to fixing the bleeding is adding padding. Currently I have 30 maps made with this tileset so I do not want to remake all of the maps.
- I used a gimp python script to add 1 pixel of padding to all of the tiles. (Resizes from 256 width to 288 width)
- I edited all of the .tmx files to add spacing=“2” margin=“1” to my tags.
- Load up the tiled map editor, and all of the tile ids for all the maps I load are off by 2 for every row (sometimes off by more) they are down in my tilemap. (Example: a tile on the second row has an ID of 21, on my maps those squares now have ID 23)
Is there something silly I am missing or does Tiled not handle adding margin and spacing to an existing tileset?