I'm trying to create an effect where it looks like the Sprites are actually in a 3D World instead of a 2D.
So if a Tree is higher (on Y) in a layout, it should be behind the one that is closer. You can see what I mean on the picture; it just looks wrong, some Trees are over others, when they shouldn't be.
Code: The player has ImagePoint(1) at his feet and Trees have ImagePoint(0) at the bottom of a Tree's trunk. In my eyes this code is working and I've tried different methods using variables, but nothing really worked correctly, I'd gladly do even do it a different way, just so it finally works.
Layer order: ObjectsUnderPlayer, Player, Objects