Hi there,
I just bought a license of Spine but I am new to Spine and trying to put the Spine runtime in my cocos2dx project. (which is pretty old, version is 3.12)
I followed the guideline from the Github page:
https://github.com/EsotericSoftware/spine-runtimes/tree/3.6/spine-cocos2dx
Removed my project copy and put the newly downloaded runtimes classes into it. (branch v3.6)
Then I tried to compile the project, I got some compilation errors, for example:
Line 138 in "spine-cocos2dx/src/spine/SkeletonRenderer.cpp"
setGLProgramState(GLProgramState::getOrCreateWithGLProgramName(GLProgram::SHADER_NAME_POSITION_TEXTURE_COLOR_NO_MVP, texture));
Too many arguments to function call, expected single argument 'glProgramName', have 2 arguments
Line 136 in "spine-cocos2dx/src/spine/SkeletonBatch.cpp"
command->init(globalOrder, texture, glProgramState, blendType, triangles, mv, flags);
No matching member function for call to 'init'
Is this issue because of my cocos2dx version is out-dated for Spine runtime library?
Should I upgrade my cocos2dx to 3.17? (Is the runtime v3.6 version support cc2dx 3.17?)
or is there anywhere can I get a Spine runtime that support in 3.12 as well as the latest Spine editor?
Any help will be appreciated. :sweat:
Mick