Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Depth Sorting vs Nested Groups


Recommended Posts

Hi everyone.

I'm aware of the fact that this is an old topic, but I still don't manage to find an elegant (and possibly simple!) solution to this problem.

Here's my situation: I need my Characters to have a Shadow, therefore I create a Group for each Character where I attach the two sprites: character & shadow. I do this in such a way to have the shadow rendered behind the character (it is worth mentioning that it is not possible to achieve this by having the shadow as a child of character!).

Then, I attach every Character Group to a higher-level Group named Characters. But, enabling depth sort (y-axis) on this high-level group doesn't solve the issue.

To sum up, the group hierarchy is the following:

Characters_group -- Character_group -- character_sprite / character_shadow.

What would you suggest to do?


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...