Advertisement

sorting

Started by August 07, 2001 09:43 AM
-1 comments, last by Fitore 23 years, 6 months ago
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

This topic is closed to new replies.

Advertisement