[cocos2dx3.0] The Diary – Part 02 – Using cocostudio

Tools : (as usual )

  • VS EXPRESS 2013
  • COCOS2DX 3.0

If you looking at cpp-test you probably knew already how “easy” to use cocostudio to create scene, skeletal animation, UI, etc etc.

but at first you probably wondering … and as beginner in cocos2dx you will get this error :

#include "cocostudio.h"

as no such class or something, thats right, the “template” we created and open in visual studio 2013 doesn’t include cocostudio.h folder.

this is what you have to do

  1. On solution explorer -> right click the project -> properties
  2. Open or select C/C++ tab -> select General
  3. On Additional Include Directories -> click the down arrow -> select <Edit…>
  4. insert this line : $(EngineRoot)cocos\editor-support
  5. Done

There it is, now you can #include “cocostudio.h”

Dont get frustrated sometime cpp-test had secret… seriously -_-

 

 

 

 

Advertisements