Cocos2d development and learning 1: Development Environment establishment and entry-level learning resources

Source: Internet
Author: User

Since the recent project is in a simple schedule, visit the CocoaChina forum to see 2-3 tutorials on cocos2d-html5 development.
So I thought that the ios platform is actually more entertaining, and the application categories are all fighting for the background of users accumulated on traditional PCs.
Gaming is generally less demanding on the background. After all, the pursuit is still creative and entertaining.
Cocos2d, as a game development engine, has been derived from the html5 version mentioned above, and now more popular cocos2d-x.
Based on the traditional introduction and development languages:
Cocos2d-html5 I have not seen specific, but look at the name, is the class web development, then the front-end language base js what should be more important, I have not touched the front-end ~
Cocos2d-x, originally, made a android and ios contacts, this should be a good choice, but the tragedy is that this is based on C ++ programming. The C ++ syntax only understands a little bit.
Cocos2d is basically biased towards Objective-C, and I am new to developing an ios project about the company, so I can be better familiar with oc.
So I want to learn the original version cocos2d. After I have almost understood the basics of the engine, I will go deep into the C ++ syntax, and it will not be too embarrassing to get started.

Question: Build the environment
1. Download The cocos2d dependency package, but it is a resource encapsulated as a Template for use,
2. decompress the package and run the Installation Template to Xcode: Enter $ sudo./install_template.sh in the decompressed folder under the terminal to install the template to Xcode.
3. Check the command line prompt. When you open Xcode to create a project, you will be able to see

4. You can create a helloWord project according to the template.
5. At the same time, you can go to the downloaded and decompressed folder with an example code project.
The environment is basically so simple.

Learning Resources
I personally think there are actually a lot of resources on the Internet, so I have to say nothing about the forum.
Csdn also has several major tutorials. Www.2cto.com
However, I prefer a simple demo,
To put it bluntly, it is not difficult to get started when learning a new technology, because you have a programming Foundation.
The most important thing is to familiarize yourself with the Framework process of a project and then call various APIs. There may be a lot of algorithms for the game. Of course that's not enough.
Therefore, my habit is to familiarize myself with the basic api and process with a project demo after I have understood the basic concepts.
Here, we recommend the online process: Zhiyi cocos2d game development tutorial, which seems to include a game of tank wars. I am stupid. I started to contact and build the environment yesterday afternoon and then asked for information, why can't I find the demo? (there is only a tutorial, but the most important thing to do a game is to have material resources. If you want to know it, you can recommend an iPhone library website ).
In addition, we recommend a good ebook, the Chinese version of Learn iPhone and iPad Cocos2D Game Development.
I think it's quite good. I uploaded it to my resources.
 


Author: Nono_Love_Lilith

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.