Archived

This topic is now archived and is closed to further replies.

CoolMike

2D Isometric Z-Buffer

Recommended Posts

CoolMike    122
I am writing my own isometric engine right now, and it is actually nearing completion. But I have one big problem: sorting the character/object sprites on the map so they are drawn correcty, in a left-to-right, back-to-front order. I currently have one such sorter, but it has its bugs. It takes a full second to do a sort, so I can only run it at initialization. I was wondering what everyone else uses. All character and unit location coordinates are in screen coordinates, based on the screen, not on the isometric map, and they are free to move and stop anywhere, not just on one tile. Thus, I could theoretically have all characters and objects in the same tile.

Share this post


Link to post
Share on other sites
Dino    172
There is a previous article that may help you:

http://www.gamedev.net/community/forums/topic.asp?topic_id=32868

Check it out and see if it helps.





Dino M. Gambone



Good judgement is gained through experience. Experience, however, is gained through bad judgement.

Share this post


Link to post
Share on other sites