This package contains a script that will automatically sort the tile map of a given layer into multiple layers set at various depths emulating dynamic depth based on the y value of each tile.
basically this script sets each tile's depth to equal depth_offset(should be room_height) - y so any object which also has it's depth set dynamically using the same formula will appear in front or behind the tile appropriately for a top down or isometric game.
Discuss issues and ideas on the forum topic and please rate. Thank you! https://forum.yoyogames.com/index.php?threads/dynamic-top-down-tile-depth-demo-depth-y-for-tiles.32053/