Quote from: Christopho on September 19, 2016, 08:51:01 AMAh, so THATS where I saw something along the lines of that, I thought that It applied to all entities.
If the entity is a custom entity, there is a function custom_entity:set_drawn_in_y_order() to specify if you want it to be displayed in Y order or in Z order.
Guess I was wrong...
Quote from: Diarandor on September 19, 2016, 12:59:27 AMWhat I'm trying to do is to have a block that has a higher Y-value than the hero to be displayed underneath the hero.
Sprites are currently attached to entities, so I guess you are trying to draw some entity under the hero, isn't it? If so, yes, it is possible to do so, and the Lua API should solve your problems. If you still have problems to do it, then you should explain with more details what you are trying to do, so that we can help you.
I'm working with the side scrolling script and am displaying the tiles in a similar fashion to Kirby superstar saga. Which Includes entities like blocks. The behavior is fine other than the odd rendering of the sprites when the hero overlaps the block.