i found that in cocos2d-x v2.2, Animation.c is a cpp file, also, Animation.h have add namespace such as "namespace cocos2d { namespace extension {", so, should we renamed all the .c files to .cpp files and add a namespace in .h files? thx
how to update spine run times in cocos2d-x?
- Modifié
The cocos2dx fork of Spine's runtimes is not supported here. I suggest using the official runtimes from github.
sorry, i am not very clear your answer.
i have another question, "Spine crash when import animation from another project" http://www.esotericsoftware.com/forum/v ... 0007#p6275
this issue have already solved? thx
Ok, I'll explain again. The cocos2d-x guys grabbed spine-cocos2dx, modified some stuff, and put it in cocos2d-x. I don't know what they did or how to update from spine-cocos2dx to what they did. I recommend not using the Spine runtime inside cocos2d-x and to instead use the latest official spine-cocos2d runtime from github.
Yes, project import should be fixed now.
thx