SplashScene isn't working correctly !

How To Make Flappy Bird
  • Vineet
    Likes 0

    Problem Description

    Guys, I did exactly in the 3rd video. But when I run this SplashScene the default - Hello World ! message and cocos logo appears. Not the image that is supposed to be my splash screen image ? I have my own image for SplashScene in “Resources” folder inside my project folder.

    I have build the project and build was successful. I configured it using your video from other course. I don’t know what wrong I’m doing. Thanks in advance !

     

  • Sonar Systems admin
    Likes 0

    Is it on iOS or Android?

  • Vineet
    Likes 0

    Android

  • Sonar Systems admin
    Likes 0

    Ok, have you built your project in the terminal/command prompt

  • Vineet
    Likes 0

    Yes, And build was successsful ! I have mentioned in my question.

  • Sonar Systems admin
    Likes 0

    When did you build it?

  • Vineet
    Likes 0

    Day before yesterday.

    I used – cocos.py compile -p android


  • Sonar Systems admin
    Likes 0

    Did you do it after or before the change for the splash screen?

  • Vineet
    Likes 0

    Ofcourse I compiled it first and then worked on making a new splash screen. And yes, I replaced – helloworld.cpp and helloworld.h with my own files just as in tutorial and made changes according to them.

  • Sonar Systems admin
    Likes 0

    Have you compiled after coding the splash screen

  • Vineet
    Likes 0

    Do I have to compile it again ? Like everytime ?

  • Sonar Systems admin
    Likes 0

    Yh, try that

  • Vineet
    Likes 0

    Nope. I can’t compile it now. It gives some kind of error. 

    NDK build failed.

     

    NDK was definitely configured during setup (setup.py)

  • Sonar Systems admin
    Likes 0

    Try creating a new fresh project and compiling that, just to make sure NDK and everything else is still setup properly.

Login to reply