Depth sorting with tilemaps

Hi,

I’m looking for the Phaser way to apply depth sorting using a tilemaps. I’m using the tile animation plugin so need to stick to tilemaps - the isometric example linked below uses a trick wherein the tiledata is used to manually create add images to a scene.

My need is to render a “top-down” showing, say, a forest - and my character needs to properly appear in front of / behind the trees based on the Y position.

Is this possible with the present or announced version of Phaser?

Lab examples - they both create individual sprites and apply depth based on the y position:

edit: I’ve seen this forum topic from last year where Richard seems to have informed a member it wasn’t possible… by then. With 3.50, does anything appear to work in the way I’m hoping?

Thanks in advance for your attention,

1 Like