« Previous - Version 2/23 (diff) - Next » - Current version
WenSheng Yang, 2011-03-04 21:21


Cocos2d-x Application Wizard for Visual Studio User Guide

0、 Overview

  • Wizard that only support for Visual Studio 2008.
  • Cocos2d-win32's and Cocos2d-wophone's project can be generated by visual c++ wizard.

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

2、 Install Cocos2d-x Application Wizard to Visual Studio Environment

  • Run setup script: \template\CCXAppWiz.vs\InstallWizardForVS2008.js .

  • Confirm the success notification.

3、 Build Cocos2d-x Solution

  • Notice : If you want build cocos2d-x for wophone, should install wophone sdk first.

  • Confirm build resoult.
    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

| | |

4、 Add New Application Project

| | |
p=.
p=.

5、 Build and Run New Cocos2d-x Project

| | |

cc_setup_js.PNG (6.5 kB) WenSheng Yang, 2011-03-04 22:42

cc_tests_win32.PNG (22.9 kB) WenSheng Yang, 2011-03-04 22:42

cc_build_folder.PNG (28.6 kB) WenSheng Yang, 2011-03-04 22:42

cc_helloworld_win32.PNG (96.2 kB) WenSheng Yang, 2011-03-04 22:42

cc_new_project_binary.PNG (33.4 kB) WenSheng Yang, 2011-03-04 22:42

cc_new_project_location.PNG (26.6 kB) WenSheng Yang, 2011-03-04 22:42

cc_new_project_run.PNG (59.5 kB) WenSheng Yang, 2011-03-04 22:42

cc_add_new_project.PNG (10.3 kB) WenSheng Yang, 2011-03-04 22:48

cc_build_solution.PNG (7.8 kB) WenSheng Yang, 2011-03-04 22:48

cc_new_project_feature.PNG (23.1 kB) WenSheng Yang, 2011-03-04 22:48

cc_setup_js_success.PNG (4.9 kB) WenSheng Yang, 2011-03-04 22:48

cc_new_project_source.PNG (46.5 kB) WenSheng Yang, 2011-03-04 22:51

cc_repository.PNG (10.4 kB) WenSheng Yang, 2011-03-15 01:20