Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - teomaragakis

Pages: [1]
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.

2
Support / Re: Dynamic Depth Layer?
« on: September 02, 2014, 06:37:04 pm »
I've had the same issue, I'll test the answer and see if it works for me. You really should consider implementing a top-down tilemap mode to make things easier.

Pages: [1]