Streamline the Cocos2dx-python environment and build the process of project creation

Source: Internet
Author: User

1.COCOS2DX website Download compressed files and extract COCOS2DX

2. Download python2.7.6 to the Python official web site and install

Python environment installation diagram: Turn on My Computer properties: Advanced Properties

Personal hobby to build a temporary environment, just change it here.

Then add to the path after the good% temporary environment is good

Then run the cmd terminal through Python test results 1. Enter Python
G:\fighting\cocos2d-x-2.2\tools\project-creator>python
Python 2.7.3 (default, APR, 23:31:26) [MSC v.1500 bit (Intel)] on win
32
Type ' help ', ' copyright ', ' credits ' or ' license ' for the more information.
>>>


After passing through the environment test, you can create a

1. Switch to the appropriate disk:
G:
CD Fighting\cocos2d-x-2.2\tools\project-creator

2. Create Python create_project.py-project project name-package package name-language CPP
Python create_project.py-project helloworld-package com.cocos2d.cai-language C

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.