Today we just render all map items in top/left to bottom/right order.
We should care about:
1) Stackpos (grounds should render first than items, for example)
2) Understand how to handle sprites when creature move from bottom to top; Sprites from bottom should not overlap creature sprites while walking as its happening today (see img1 below)
3) Remove top floor visibility when things block your vision (see img2 below)
PS: Stackpos isn't a bug now because map editor already cares about it when save the otbm. So we read all in order and it's ok. But we should care about it too.
Today we just render all map items in top/left to bottom/right order.
We should care about: 1) Stackpos (grounds should render first than items, for example) 2) Understand how to handle sprites when creature move from bottom to top; Sprites from bottom should not overlap creature sprites while walking as its happening today (see img1 below) 3) Remove top floor visibility when things block your vision (see img2 below)
PS: Stackpos isn't a bug now because map editor already cares about it when save the otbm. So we read all in order and it's ok. But we should care about it too.
img1:![walking_bug](https://user-images.githubusercontent.com/3277185/97368107-0184d200-1889-11eb-8e0e-7b47d142c272.gif)
img2:![floor](https://user-images.githubusercontent.com/3277185/97368876-989e5980-188a-11eb-8d04-c7e0f80817b6.gif)