Skip to content

Sort Z of Sprites on same Z-layer by their Y-coord

This is how to ensure sprites will always appear in front of things that are in tiles above them, and behind things that are in tiles below them.

Edited by Beeman