android - How Do I Replace A Scene in Cocos2D

Discussion in 'Game Development (Technical)' started by sn0wfall, Jul 3, 2016.

  1. sn0wfall

    sn0wfall New Member

    Joined:
    Jul 3, 2016
    Messages:
    2
    Likes Received:
    0
    I am using Cocos2D for Android: I have two scenes MainScene and LogoScene. I want to show a Splash screen on LogoScene then, I want to transition to MainScene.

    I am wondering how I can go from LogoScene to MainScene using:

    CCDirector.sharedDirector().replaceScene(MainScene.scene());
    What is an example of Scene Transition from a splash screen to the main scene?
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer