Cocos2d Windows Game Deployment (Steam)

@corytrese @dogwalker

Hey guys I’m planning to develop for Steam too. If it’s not too much to ask can you help me how to run a new Cocos2d-x project in Visual Studios 2015?

The first problem I’m encountering is I don’t know which emulator to use for a Desktop game:

All of those causes an error which say something like:

Error        DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '721A4141-313A-42D6-9C47-7FE224046E9B'.': 
Exception - 0x80131500    VisualTest

I’ll be honest, I don’t use an emulator on my PC. I develop on my Mac for iOS and Android, and on my PC only for Windows.

1 Like

You don’t use an emulator for a desktop game, you select the desktop target or solution instead of the mobile one (not entirely sure how the Windows projects are set up) and run it directly on the machine.

Did you type this command line on cmd ?

cocos new MyGame -p com.your_company.mygame -l cpp -d NEW_PROJECTS_DIR

After that, you have to go to the directory of the game you just created, and open the folder proj.win32, then open the .sln file (microsoft visual studio solution).

You don’t need an emulator, just use the Local Windows Debugger.

Hope it helps you =)