关于用cocosbuilder制作骨骼动画readNodeGraphFromFile的问题

我先把代码贴出来吧:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
void boneAnimationScene::loadBoneAnimation(){
//创建一个自动释放的 Node 加载库
NodeLoaderLibrary *nll = NodeLoaderLibrary::newDefaultNodeLoaderLibrary();
//创建一个 CCBReader,并设置自动释放
ccbr = new CCBReader(nll);
//读取一个ccbi的文件,生成一个CCNode实例
auto s = ccbr->readNodeGraphFromFile("walk.ccbi");
auto *s1 = ccbr->readNodeGraphFromFile(<code class="cpp string" style="outline:0px !important;margin:0px !important;padding:0px !important;border-top-left-radius:0px !important;border-top-right-radius:0px !important;border-bottom-right-radius:0px !important;border-bottom-left-radius:0px !important;background-image:none !important;border:0px !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;overflow:visible !important;position:static !important;right:auto !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:Consolas, 'Bitstream Vera Sans Mono'