(cocos2d) How to achieve smooth transition!

Discussion in 'iOS Programming' started by ccamelot, Aug 6, 2010.

  1. ccamelot macrumors member

    Feb 21, 2010
    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.


Share This Page