Hi!
After loading a ccbi file I want to run a specific animation
void HelloWorldScene::onNodeLoaded(CCNode * pNode, CCNodeLoader * pNodeLoader) {
CCLOG("NODE LOADED");
CCBAnimationManager *man = dynamic_cast( this->getUserObject());
if (man)
{
CCLOG("Animation manager");
man->runAnimationsForSequenceNamed("Hit");
} else CCLOG("NOT Animation manager");
}
The cast fails so I get “NOT Animation manager” with cocos2d-x 2.1.4 with cocos builder 3.0 alpha5.