1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

(cocos2d) How to achieve smooth transition!

Discussion in 'iPhone/iPad Programming' started by ccamelot, Aug 6, 2010.

  1. macrumors member

    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