Sort world sprites relative to the viewport Y origin.
Tim Falken authored 2 months ago
Absolute tileY×zoom depth keys overflow past LAYER_EDGE on high chunks when zoomed in, so blocks/mobs sorted into the wrong band and vanished. Keep layers viewport-relative and refresh baked rows when the camera moves.