CCLayer场景切换

CCScene* scene = [CCBReader sceneWithNodeGraphFromFile:@"Test1.ccbi"];
	[[CCDirector sharedDirector] replaceScene:[CCTransitionFade transitionWithDuration:1.0 scene:scene withColor:ccWHITE]];


切换到Test1.ccbi的场景

你可能感兴趣的:(切换)