Cocos2d-x First Simple program Hello Word

Source: Internet
Author: User
Create a project

Go to directory cocos2d-x-3.2alpha0/tools/cocos2d-console/bin/cocos.py

Open Terminal run cocos.py script create file

1 python cocos.py newHelloCpp -p com.coco2dx.org -l cpp -d ~/Desktop

Parameter description:

  • Hellocpp for Project name
  • -pAfter the package name
  • -lfollowed by the development of the language type, there are CPP, LUA, JS three types
  • -dThe directory after which the project is stored

  • Looking at the project path, you will see that the new "Hellocpp" item appears in the directory. Open the Hellocpp/proj.win32 folder, then the HelloCpp.sln solution, and click Run Project. The following interface appears and the project is created successfully

Cocos2d-x First Simple program Hello Word

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.