1:node->runAction(CCFadeIn::actionWithDuration(2));
- for (vector<ConfigItem*>::iterator iter = (pCurLevelInfo->getVecItem())->begin(); iter != (pCurLevelInfo->getVecItem())->end(); ++iter) {
- if ((*iter)->name.compare("brand_new") == 0) {
- m_BRAND_NEW_FILE_PATH = (*iter)->fileName;
- } else if ((*iter)->name.compare("hero") == 0) {
- m_HERO_FILE_PATH = (*iter)->fileName;
- } else if ((*iter)->name.compare("config") == 0) {
- m_CONFIG_FILE_PATH = (*iter)->fileName;
- }
- }
- m_pSpriteBackground->runAction(CCSequence::actions(CCFadeOut::actionWithDuration(TRANSITION_DURATION/2), CCCallFunc::actionWithTarget(this, callfunc_selector(GameStoryScene::ActiveBackground)), NULL));