1
Support / Re: Dynamic Depth Layer?
« on: September 02, 2014, 08:46:47 pm »Next thing to do is to add some z offset to each tile -
tk2dTileMapBuilder.cs, line 56
Vector3 currentPos = new Vector3(tileSize.x * (x + xOffset), tileSize.y * y, 0);
the z offset is currently 0, but you can set that to (y * (x1 - x0) + x) * 0.01f
That will space each tile by 0.01 unit, and you can position your sprites between these tile values to get them to sort properly. This requires some fiddling to work properly, but once it works should give you good results.
If I'm not mistaken, This doesn't work any more.