A
Akari
Guest
I think I get how tiles z-ordered and how game deside where draw tile (in front of character model, or behind)
There are such thing as Z value. Its Uint16 and it set distance from screen to tile. If character is on distance 300, then all tiles with Z value larger than 300 will be rendered first, then character model is rendered, after that rendered tiles trom 300 to 0 in descent order.
I must rewrite a lot part of managers again -_-
But at last CHORACE got rendered correctly.
There are such thing as Z value. Its Uint16 and it set distance from screen to tile. If character is on distance 300, then all tiles with Z value larger than 300 will be rendered first, then character model is rendered, after that rendered tiles trom 300 to 0 in descent order.
I must rewrite a lot part of managers again -_-
But at last CHORACE got rendered correctly.
Last edited: