Mikepicker Posted June 15, 2016 Share Posted June 15, 2016 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? Thanks! Link to comment Share on other sites More sharing options...
Zeterain Posted June 16, 2016 Share Posted June 16, 2016 You say that depth sorting the high-level group "doesn't solve the issue." What exactly is the issue you are experiencing? Link to comment Share on other sites More sharing options...
Mikepicker Posted June 16, 2016 Author Share Posted June 16, 2016 I've actually noticed I wasn't so clear. Anyway, the issue is simply that the depth sorting doesn't work in the case I describe. Link to comment Share on other sites More sharing options...
Recommended Posts