u/Competitive_Level526

▲ 3 r/love2d

Dynamically sorting the map ( Top Down )

I am currently working on a pixel art top down game. But I encountered a huge issue with the y sort or the z index, I want stuff in the front cover stuff in the back.

I use STI ( simple-tiled-implementation ) to load and render the map.

Is there a way to sort the tiles based on the y position of the player and other entities?

reddit.com
u/Competitive_Level526 — 10 days ago