Example #1
0
void SoundManager::fadeOutEffect(int effect)
{
	auto changeDown = ActionTween::create(0.5*director->getScheduler()->getTimeScale(), String::createWithFormat("fadeOutEffect%d", effect)->getCString(), 1, 0);
	changeDown->startWithTarget(this);
}
Example #2
0
void LFTwirl::preCreatGrid(CCNode* actionTarget)
{
	CCAssert(actionTarget!=NULL,"");
	startWithTarget(actionTarget);
}