Add Cocostudio Library to the new Cocos2d-x 3.X Win32 Project

Source: Internet
Author: User

1. We found "Solution Explorer" in VS, right-click on solution "Hellococos" and select Add Existing project.
In the popup dialog box, select *************\cocos2d\cocos\editor-support\cocostudio\proj.win32\libcocosstudio.vcxproj
Then continue adding *************\cocos2d\extensions\proj.win32\libextensions.vcxproj
Then continue adding *************\cocos2d\cocos\ui\proj.win32\libgui.vcxproj

2. Then we right-click on the Hellococos project to select Add Reference
Click the Game Project right button reference

Add a new reference
Refer to the item you just added

3. Then select "Configuration Properties", "C + +" and "Additional Include Directories" in the project properties (right-click Select Properties) and edit.
Add the following lines

$ (engineroot) Cocos
$ (engineroot) extensions
$ (engineroot) cocos\editor-support\
$ (engineroot) Cocos\editor-support\cocostudio

4. Use
#include "CocoStudio.h"
using namespace Cocostudio;

Add Cocostudio Library to the new Cocos2d-x 3.X Win32 Project

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.