Cocos2d-x game development-lua engineering Creation

Source: Internet
Author: User

Operating System: OS X 10.85
Cocos2d-x version: 2.2.1

Using a Cocos2d-x can create a lua project, and projects that have been created using cpp can also inherit from lua for development, but lua does not support mac Engineering (because of some framework issues ).

The following project files are supported:



Note this when you create a project named "create. py language" and integrate lua and its tools.

SA

Now under the cocos2d-x directory, go to the file directory through cd


If you forget the command, you can directly run create_project.py <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + PC9wPgo8cD4KPGJyPgo8L3A + cjxwpsjnz8kjustmvcd4kpha + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140615/2014061509405491.jpg" alt = "\">

Then, enter the parameters in the example and run the script. First, install the python runtime environment.

Run python, enter python in the command line to run, and exit as ctrl + z



OKK, now we enter the following command, create project for lua



OK, have fun, men.





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.