So in the current game I am writing, I have characters which open up chat bubbles with text written in those bubbles.
The sprite characters (AtlasSprites) are on one sprite manager, the chat bubble images (also AtlasSprites) are on another, and the labels (BitmapFontAtlas)I have placed in their own layer for easy removing (as BFA doesnt support multi-line and I'm loading from a bitmap font, giving a 3-line chat line 3 tags when there may be 5 chat bubbles on the screen, getting rid of them is a problem).
Anyway, the problem is this: The chat bubble in front of the character, and the BFA in front of the bubble. All good. Now, I have another character who, to leave the screen, must pass in front of another character. In doing so, he may/may not pass in front the other character, but since the Z-order for the sprite manager for the chat bubble & the label must be higher Z than the characters to show them in front, it puts me in a dilemma that I dont know how to move that character who needs to leave to be in front of the chat bubble. He cant leave behind the character since he's basically up against a wall (visually).
Since they are on different managers, I dont know what to do.
Any suggestions?