Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hi there, Yadu. Version 1.8.1 fixes bugs related to sorting and positioning for the different tile types. It's a long story of the differences between tile placement in Tiled vs. Unity and the coordinate systems they use but, yes, I can how this is causing an issue for you.

I think the best option for you would be to have your own CellToWorld function that modifies pos.y (decrements by one) or change your placement code to subtract an additional cellSize.y from p.y. 

If you want to discuss this more then open a bug on github and we can see if there's better options.

I can probably try that and see how it goes, but I feel this happens during import somewhere. On 1.6.2 this is how an imported level looks (notice the bounding box) for the selected layer(bg).


And I just updated to 1.8.1 and re-imported the tmx files and this is the exact same level and here that bounding box has shifted up by one row.

I've added an issue on github - https://github.com/Seanba/SuperTiled2Unity/issues/110