Different z index within the same tile

by Nimmi   Last Updated February 27, 2018 05:13 AM

When you are looking at this image:

Player behind tree

the player is standing behind the tree. I know that can be accomplished by drawing the background first the player second and the upper tree part after that.

The thing is in the actual tileset there is only one tile that combines the background and the upper tree part:

Upper tree tile

So how is it possible that there are multiple z-indices within one tile. Or is the game somehow extracting the upper tree part from the base grass texture and draw them like described earlier?



Related Questions





Isometric painter's algorithm problem

Updated October 13, 2016 09:05 AM