The leafy tiles and wheat tiles correctly overlap other tiles on their layer. (They are y-sorted.)
Tiles on higher layers occlude tiles on lower layers.
That all works great. However, I would like tiles in lower layers to occlude tiles in higher layers if that higher-layer tile is in a “column” that is further back.
(Layer3 has a y-position of -16.0, and Layer has a y-position of 0.0)
Am I boned? Do I have to roll my own “TileMapColumn” node or do something hacky? Or is there some way to have these layers talk to one another and figure out which tiles “align” with which?
I think you may be in “roll your own” territory with this. I could be wrong, but I don’t think there’s a direct way to get multiple TileMapLayer nodes to interact like that.
If you want this to work with minimal custom code, I’d suggest maybe a 3D view with an isometric camera and use GridMap in place of TileMapLayer; that should get you proper depth-based occlusion.
There’s no easy code solution around this. The solution is to make an “empty”, sides-only tile in your tileset, and use that tile exclusively for filling in lower layers: