COCOS2D-JS Environment Construction

Source: Internet
Author: User
Mac under: one. Cocos Console installation 1. First install Python, recommended to install 2.7 version, ask Baidu. 2. Download Cocos2d-js 3.x, then command line execution setup.py, directly drag in the line, enter the wait. 3. Next it will prompt you to enter the NDK, SDK, Ant Path, and then drag the downloaded files in. Note the ant path is/bin. 4. If the above is not possible to find the path of the situation is not OK, you can later in the Code IDE to configure, after completion, restart the computer for the configuration to take effect. Second, the development tool official recommendation Cocos Code IDE, personal use sense code hint function is not perfect, but the latest version seems to have been solved, we try. Most people choose to use webstorm, prompting the function is too sensitive, the advantage is its shortcomings. the command line creates a project that has no Project.jason, and the main setting is the screen and the resolution of the appropriate model. I used to use the Cocos Code IDE to create the project, Webstorm coding, although a bit troublesome, but this can use the configuration file.

Windows and the above steps, just need to manually configure the Python environment, the environment variable >> system variable >>path under the Python27 path.

More than one sentence: Cocos2d-js from the samples directly can not open, you need to Cocos2d-js 3.x in engineering form into the Webstorm or Cocos Code IDE to run.

COCOS2D-JS Environment Construction

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.