Hi, making a top down rpg as my first gdevelop game (I know its ambitious but I’m okay at pixel art and love writing, my only issue was code and that’s why I selected gdevelop sorry the backstory) basically my issue is I want the main character to be in front and behind the trunk of the tree but the leaves always be in front of the character, I use the y sort extension. If anyone knows a solution that would be great! Thanks. (images attached below) **
Maybe create leaves object and trunk object separately. Have an event that sets the leaves z-order = “leaves z-order + player z-order”.
I haven’t used ysort extension myself but I think that should be the gist of it.