Quick-cocos2d-x for Mac development Environment installation configuration

Source: Internet
Author: User
Tags lua

    • My development environment
      • Operating system: Mac
      • cocos2d-x:v3.2
      • Cocos2d-lua (quick-cocos2d-x): V3.2-rc1
      • Cocos studio:v2.0.2
      • Cocos Code ide:v1.0.1 (64bit)
Installation steps
    • Installing Cocos2d-x

      • Move the downloaded cocos2d-x-3.2 to the working directory.
      • setup.py under Run Directory
      • Update environment variable Source ~/.bash_profile
    • Installing Cocos2d-lua

      • Run the installation package QUICK-3.2RC1-MAC.DMG
      • Move the installed Quick-3.2rc1 directory to the working directory
      • setup_mac.sh under Run Directory
    • Installing Cocos Studio

      • Run the installation package COCOSSTUDIOFORMAC-V2.0.2.DMG complete the installation
    • Installing the Cocos Code IDE

      • Run the installation package COCOS-CODE-IDE-MAC64-1.0.1.DMG complete the installation
HELLO World
    • New Test Project

      • Under Quick-3.2rc1 directory, run Quick/player3, click New Project
      • Choose a storage path, for example: ~/cocosapp/
      • Set the package name, for example: Com.quick.games.test1,
      • Once created, click to open to see the effect of running.
    • View, edit code in the IDE

      • Open the Cocos Code IDE, click the Menu "File=>import", select the project directory you just created: ~/cocosapp/test1, you can see the project's Tree directory structure
    • Summary

      • Under the Mac to build cocos2d development environment is very convenient, compared to the Windows system is much more cool, initially I chose to use the latest 3.3 package installed, encountered "Installing QUICK TEMPLATE to COCOS Coscos root Path NOT found!!!!! " Mistake, tangled up a lot of time, after replacing 3.2 of the package results have not encountered any errors, it is estimated that because of the latest version of the reason, has not been well tested, it is recommended to build the environment with 3.2 version.

Quick-cocos2d-x for Mac development Environment installation configuration

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.