101 cocos2d-x project meetings-Installation and environment building-xcode

Source: Internet
Author: User

  1. Cocos2d-x 101 encounter/directory
    1. Installation and environment setup-xcode
    2 Scenes, Director, Layers, Sprites
    3. Create an image menu
    4. Create a new scenario on HelloWorld
    5. Add a sprite.
    5.1 scale down sprite and display it completely
    6 action, mobile sprite
    3.0 Click Event, CCTouchDelegate has been disabled
    8 use the touch event mobile genie


1. Installation and environment setup-xcode

Use cocos2d-x in xcode

1. Download and create a project download and unzip the cocos2d-x-3.0beta2 (current version January 2014)

 
  1. cd

  2. cocos2d-x-3.0beta2/tools/project-creator

  3. project-creator hejiasheng$ ./create_project.py

2. Start the project

Open the project file (start. xcodeproj) from xcode)

 
  1. /Users/hejiasheng/iOS-01/start/proj.ios_mac

  2. localhost:proj.ios_mac hejiasheng$ ls -l

  3. total 0

  4. drwxr-xr-x  25 hejiasheng  staff  85021423:01 ios

  5. drwxr-xr-x   6 hejiasheng  staff  20421423:01 mac

  6. drwxr-xr-x   5 hejiasheng  staff  1703410:08 start.xcodeproj

Or go to the directory and click (start. xcodeproj)

Related Article

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.