[Cocos2d-X case] MoonWarriors legend flight game preparation (1)

Source: Internet
Author: User

Preface has not written a blog for a long time, because recently in the study of cocos2d-x, a few days ago saw a cocos2d-html5 in the MoonWarriors, thinking can not use cocos2d-x for restructuring, on the one hand, you can practice this flight game programming ideas, on the other hand, you can also deepen the understanding of cocos2d-x, good, not much said, began to refactor, first we from. Start to open xcode to create a project. Here we select cocos2dx, and Next is Next. After installation, run the following command to check whether the project can run. If yes, we can write a program. If not, let's take a look at the problem (Baidu finds it by yourself). Let's take pictures, music, and other resources under MoonWarriors (files under the src directory) first) drag it to the Resources directory of the project and remember to select and copy this option. The preparation is complete. Next, we will create a scenario one by one.

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.