windows 10 and cocos2d-x

How To Make Flappy Bird
  • sweshi
    Likes 0

    Problem Description

    in the course for creating the flappy bird game with cocos2d-x, i was able to successfully finish the course on android. But when I compile it for windows 10 it just brings a black screen and nothing happens  

    look at this link for the screenshot this is now happening on every game prototype i work on:

    http://discuss.cocos2d-x.org/t/blank-screen-appears-after-compiling-for-windows/29570

  • Sonar Systems admin
    Likes 0

    Does a fresh project work for you?

  • sweshi
    Likes 0

    yes it opens successfully. with the cocos logo and exit button

  • Sonar Systems admin
    Likes 0

    Have you followed the Flappy Bird tutorial series for Windows or just copied the code.

  • sweshi
    Likes 0

    i just used the same code. Didnt realise there was a separate windows tutorial.. link?

  • Sonar Systems admin
    Likes 0

    It’s the same link but I mean did you just copy the code or go through the series again as this will help us identify the cause of the problem.

  • sweshi
    Likes 0

    okay its like this...i followed the whole tutorial and recreated the code from scratch and that was for an android device. now after doing it up successfully on android si want it to run on windows so i just included the source files and headers in the .vcxproj file and its able to compile but not display anything. thats in the proj.win10 unless you tell me that i have to redo all the code in the classes directory to suite windows 10 

  • Sonar Systems admin
    Likes 0

    I would say go through the tutorial series again so we can identify what aspect is breaking otherwise it’s hard to pin point the route of the problem.

     

    Feel free to post any queries you may have.

  • sweshi
    Likes 0

    alright thank you.. i will do just that

Login to reply