About the development framework, based on the information retrieved on the Internet, I feel that the Cocos2d-x iOS game development Framework is very good and has very strong portability, so I intend to try it out.
Write down this article, the latest cocos2d-x version number is v3.0 stable version (just announced a few days ago), as follows: HTTP://WWW.COCOS2D-X.ORG/FILEDOWN/COCOS2D-X-3.0-CN
Installation methods such as the following:
1, decompression program compression package (where the path can not have Chinese oh, because it is python, you understand ...) )
2, sudo python setup.py installation cocos2d-x, follow the instructions to do some small settings
3, according to the contents of the final installation instructions
Please execute command: "source/users/*** (your username)/.bash_profile" to make added system variables take effect, in which the instructions are partially re- Paste the carriage return can be
4. Establish a iosproject:
Cocos New Helloworld-p Com.cwbeta.helloworld-l cpp-d ~
New represents a project
HelloWorld for Project name
-P is the package name after
After-L is the development language used, here I use C + +
-D is the location of the project folder you created, depending on your preferences (for example,-D ~/documents/ios)
5. Open the Helloworld.xcodeproj () in the Proj.ios_mac folder that you created in the project folder:
6. Can change the device you use (I chose ipad)
7, then can directly product-run, the following is the effect of Hello World: