Let’s assume there are two sprites with the same parent background sprite. I’m adding a child sprite to one of them, thus nodes hierarchy becomes:
> sprite1> sprite3
> sprite2>addChild(sprite3, –1, 100), sprite2 may be over sprite3.
Z orders of sprite 1 and 2 are the same. Is it possible to make sprite3 always “higher” than sprite2? Even when I do something like sprite1
P.S. I’m not sure whether this happens in cocos2d-iphone as well.