Cocos2d-x Application Wizard for Visual Studio User Guide

0. Overview

  • Cocos2d-x-win32's project can be generated by Wizard.
  • Wizard supports Visual Studio 2008, Visual Studio 2010(0.8.0 or later), Visual C++2008 Express(0.8.0 or later) and Visual C++ 2010 Express(0.8.0 or later) .

1. Frist of all, get the cocos2d-x source code from github

2. Build Cocos2d-x Solution

Win32

  • Run the Build-win32.bat script, which adapts vc2008 or vc2010 automatically, to build the solution,
  • or open cocos2d-win32 sln file and build the solution in IDE.
    • The cocos2d-win32.vc2008.sln is the vc2008 solution for win32.
    • The cocos2d-win32.vc2010.sln is the vc2010 solution for win32.

  • Confirm the binary target.(example with win32)
    1. Cocos2d-win32 binary in the folder named Debug.win32 or Release.win32;
    2. Cocos2d-wohone binary in PRJ_TG3\LIB\Win32Lib.

  • Run HelloWorld and tests(example with win32)

 |  |

3. Install the cocos2d-x application wizard to Micro Soft Visual C++ development environment

  • Run install-templates-msvc.bat to install the cocos2d-x application wizard automatically.
    • The script files for each msvc IDE in the directory: \template\msvc\ .
    • The script whose name with the suffix "Express" is used to install wizard for virsual c++ express version.

4. Add a New Application Project

 

 

Warning: If you want to create a project in your own solution, modify the project Output Directory property, and replace the value "$(SolutionDir" with "..\".

 

 

 | |
p=. 
p=. 

5. Build and Run the New Cocos2d-x Project

 |  |

转载于:https://www.cnblogs.com/forworldpeace/p/3391795.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值