> -----Original Message-----
> From: Palamon 3 [mailto:
palamon_3@...]
<snip>
The Y sorting is good if your game uses a 2D field. If it's simply a
platformer, such as Mario, you can get away with sorting just the axis
you're primarily moving along. If you're doing an overhead game, such as
most sports games, where movement along both axes are common *and* you are
likely to want to either check for all sprites close to a boundary or in a
straight line along either axis (laser fire, for instance), then sometimes
the second axis can come in handy.
Something to note when checking an axis list in either direction is that you
need to check all sprites out to the maximum width of the largest sprite.
Hope that helps.
Jesse