And half of "what" sprite is sticking out?
What I mean is this:
My question is... how am I supposed to order the priorities???
You see, Some buildings overlap 2 or 3 of the pathway, while others overlap only 1
Other buildings overlap buildings, as well. But buildings never overlap two pathways, because that would require a 4th layer in XP.
So, if priority 1 causes only the upper part of the tile to overlap, leaving the bottom part exposed, what does priority 2, 3, 4, and 5 do?
Alternatively, if Priority 1 starts at the bottom and then priority 2 is next, then priority 3, priority 4, last, priority 5... is this method correct then?
Say that the building covers 2 and a half part of the pathway (in squares). This would require you to make priority 1 on the building where the bottom part of the pathway would be, and then a priority 2 on each row of the building where the middle part of the pathway would be, and then a priority 3 on the building where the top part of the pathway would be.
Now say the building covers all parts of the pathway (total: 3 tiles) and then 2 parts of the next building above it. The same rule would apply for this situation, except, you would have to make a priority 4 in the case that any of the character may enter a door in the building above.
This prevents the character from having it's head sticking out (the character covers 2 squares, I believe).
Also, how would I go about making sure the character cannot go through the building being underlapped when all the squares of the overlapping building have been O'ed? (making sure that the character can't barge through the building).
For example, even though the character cannot pass through the underlapped building normally due to the X's on the building, it seems the higher priority takes effect and makes the building on top allow the character to pass through normally. Now I cant tell where I normally would place any of the buildings in other towns... I already exceeded 50000px hieght for my tileset (it works, but barely), and I don't think I can add any more tiles for other towns, unless I make an individual town tileset, which may take hours to redo the X's and O's.
If that's the only way to do it, then I guess I will do it.
Thanks for your help. You are a blessing.