Im using the latest version of cocos2dx v3 from github, for a week now a issue has occurred where layers do not always seem to be rendered in correct order, mostly labels and spine layers.
Size visibleSize = Director::getInstance()
LayerColor *layerColor = LayerColor::create);
CCSkeletonAnimation *splashAnim = CCSkeletonAnimation::createWithFile(“spine/splash.json”, “spine/splash.atlas”);
splashAnim~~>setPosition(Point(visibleSize.width / 2, visibleSize.height / 2));
the spine animation appears to be behind the layer colour, adding Z orders to the addChild’s doesn’t seem to make a difference, removing the this->addChild(layerColor); the spine animation is displayed.