Porting Cocos2d-x Games for Windows 8 | Techbirds


1. Install Python.

1. Then Download download Cocos2d-X. V2.2.1

2. Extract the Zip File .

3. Open the command Prompt from there go th that path where your cocos2d-x folder

for example if your folder is in D: Drive then from the command prompt write

c:> d:

d:> cd  cocos2d-x-2.2.1cocos2d-x-2.2.1toolsproject-creator

d:  cocos2d-x-2.2.1cocos2d-x-2.2.1toolsproject-creator:>create_project.py -project PROJECT_NAME -package PACKAGE_NAME -language PROGRAMING_LANGUAGE


d:  cocos2d-x-2.2.1cocos2d-x-2.2.1toolsproject-creator:>create_project.py -p PROJECT_NAME -k PACKAGE_NAME -l PROGRAMING_LANGUAGE


d:  cocos2d-x-2.2.1cocos2d-x-2.2.1toolsproject-creator:>create_project.py -project Tizzel -package abc -language cpp

then the Project is created  with the name Tizzel in the   D:cocos2d-x-2.2.1cocos2d-x-2.2.1projects folder

4. Copy the Class files in the D:cocos2d-x-2.2.1cocos2d-x-2.2.1projectstizzelClasses folder

5. Copy the Resources in theD: cocos2d-x-2.2.1cocos2d-x-2.2.1projectstizzelResources folder

6. open Microsoft Visual studio 2012 for Windows 8 click on open project then open

D:cocos2d-x-2.2.1cocos2d-x-2.2.1projectstizzelproj.winrt  and select tizzel.vcxproj and click on open then the project is open in the visual studio

7. Press f5 to run the project.

1,224 total views, 1 views today

Share this Onfacebook-4190432twitter-8439310linkedin-2377467google-4964317