Preface
My work environment configuration is for your reference only. Please be informed!
1. How to Create a project in cocos2d-x-2.2.5
1. Open the CMD console, CD to D: \ cocos2d-x-2.2.5 \ tools \ Project-creator;
2. Enter the command: create_project.py-Project mygame-package com.gz D. Game-language CPP. If you see the following content (have fun !) :
650) This. width = 650; "src =" http://img.blog.csdn.net/20141101174440211? Watermark/2/text/plain =/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma ==/ dissolve/70/gravity/center "/>
It means that the project is successfully created, will generate the mygame project in the D: \ cocos2d-x-2.2.5 \ projects directory, such:
650) This. width = 650; "src =" http://img.blog.csdn.net/20141101174548765? Watermark/2/text/plain =/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma ==/ dissolve/70/gravity/center "/>
3. Next, you can open the vs project in mygame \ proj. Win32 to start your cocos2d-x journey.
This article is from the "dandanjiayuan" blog. For more information, contact the author!
Cocos2d-x game development-the first article on creating a project