Archived

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

2D Isometric Z-Buffer

This topic is 6163 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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