In the quick-cocos2d-x3.3 player3 open black screen problem (resolved), cocos2dx3.3 Create Project

Source: Internet
Author: User

In the quick-cocos2d-x3.3 player3 open black screen problem (resolved), cocos2dx3.3 Create Project


Download the quick-cocos2d-x v3.3 Final for win on the Chinese site of Cocos2dx engine, and then open the installation

When setup_win.batis run, the environment variable is automatically set, and the player3.exe project simulator is created on the desktop,

However, a black screen is displayed. At first, the environment variable was not set, so I checked the environment again.

Variable and restart the machine, but the result remains unchanged, black screen (with frame rate and other information ),



Then I asked du Niang, but I still couldn't find a solution, so I decided to recompile and generate it myself:

(Here the player. sln solution path is G: \ Cocos2d-lua \ quick-3.3 \ quick \ player \ proj. win32)

<1> change the tool set for all projects to Visual Studio 2013 (v120) (because the ide I use is VS2013 and the OS is WIN7 64BIT)

<2>. Generate a solution


After all the compilation is successful, debug and start the execution. At this time, player3 still runs on a black screen,

However, I found the debugging information and errors:


Understand the debugging information is a good solution, I first created in G: \ Cocos2d-lua \ quick-3.3 \ quick \ welcome \ src

And then copy the G: \ Cocos2d-lua \ quick-3.3 \ quick \ framework \ init. lua file to this path,

But after debugging started, the file is still missing, so I simply put G: \ Cocos2d-lua \ quick-3.3 \ quick \ framework

The entire directory and its files are copied to the G: \ Cocos2d-lua \ quick-3.3 \ quick \ welcome \ src \ directory, then start player3

Then there will be no black screen problems,


[The black screen problem has been solved successfully. The solution is summarized as follows ]:

Copy the entire directory of G: \ Cocos2d-lua \ quick-3.3 \ quick \ framework and its files

G: \ Cocos2d-lua \ quick-3.3 \ quick \ welcome \ src \ directory can be !!


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.