PDA

View Full Version : (cocos2d) How to achieve smooth transition!




ccamelot
Aug 6, 2010, 07:43 AM
Hi all,

how to achieve smooth transition between intro movie and first scene in cocos2d? Now there is a blick of black background between.

MMoviePlayer is added to director view:
[[[CCDirector sharedDirector] openGLView] addSubview:moviePlayer.view]

and how to proceed to the first scene? I've got a handler

- (void)moviePlaybackDidFinish:(NSNotification *)aNotification {

}

now what? Currently I'm removing moviePlayer.view from superview and I don't like it. I want to crossfade intro and first scene. Any idea will be appreciate.

Les