Archived

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

Fitore

sorting

Recommended Posts

im writing a rectangle tile based game, and im having trouble sorting the layers, the technic im using now is to use a loop go from the bottom of the screen to the top, and alone the way if it catches any objects, it will draw it out from left to right. the problem with this is it''s really really slow. i went through some articles last night, and i came through this technic called z ordering, the author didn''t go very deep about sorting. im fairly new to game programming, everything i know i learned from lamothe''s books, i would really appreciate it if you can explain it to me in plain english, thanx

Share this post


Link to post
Share on other sites