ldtk icon indicating copy to clipboard operation
ldtk copied to clipboard

YSort the Entity array, before rendering

Open caioraphael1 opened this issue 8 months ago • 0 comments

Before: image

After: image

Before the drawing order was decided by the order in which the entities were placed in the world, now it uses a y-sort.

This is very handy when using entities instead of tilelayers to draw objects.

caioraphael1 avatar Mar 16 '25 19:03 caioraphael1