Li huaming himiOriginal, reprinted must be explicitly noted:
Reprinted from[Heimi gamedev block]Link: http://www.himigame.com/iphone-cocos2d/415.html
After carefully understanding the iOS game development engine, commonly used cocos2d and unity engines in recent days, unity is not free, while cocos2d is free and open-source;
Finally, I chose cocos2d for two reasons:
1. The most important reason is its corresponding development tools, especially the"Participant designer", Particle system Editor, very fond of (pay $7.99 USD), download the trial version of the Operation below, did not say,; below: (then took out a credit card to buy, it was just a little unexpected. I didn't buy it. I had to cough up and talk about it later)
2. its cocos2d-x cross-platform very optimistic, because I also developed the Android system, it is clear that the android game engine cocos2d also has its corresponding version; such an engine can be used on both platforms, he Lewei;
This section describes how to build a development environment for the cocos2d engine:
Step 1: download the latest cocos2d-iphone version; Address: http://code.google.com/p/cocos2d-iphone/downloads/list (current latest 1.0)
Step 2: Decompress the downloaded file to the "document". (click "Finder" and click "document" on the left ");
Step 3: Start the terminal. (Click Finder-go-utility-Terminal)
Step 4: first use the command to enter the current "CD documents" to enter the Documents folder, then "CD cocos2d-iphone-1.0.0" to enter the cocos2d engine folder, and finally"/Install-templates.sh-u"Command to start cocos2d installation,
When you see done, it means it is finished. Then open xcode and create a new project. On the left side, you can see "cocos2d 1.0.0". After you click it, The cocos2d-based framework is on the right side, as shown in:
Then, we create a cocos2d application, run build & run directly, and then run the simulator as follows:
OK. the development environment of the cocos2d engine and the creation of an instance project are also running normally, so we will keep writing about the cocos2d EngineArticle, Hope you can give more advice;