Hi I am programming a tiled map with three layers, where I want to draw Tiles by Zorder, smallest - largest, I have got it to work for the top of the map, however the further you go down the other tiles end up always drawing over the character I have on screen:
map.jpg
Any ideas of what I should be defining my ZOrder value at, currently they are:
m_nZOrder = this.m_nLayer *(m_Image.getLocation().y + m_Image.getHeight());
I have also tried just doing it by using this as well:
m_nZOrder = m_Image.getLocation().y;
which gets problems like this
map1.jpg