用studio发布资源 。
然后加载 ,一下子就crash
var node = ccs.sceneReader.createNodeWithSceneFile(res.login_json);
this.addChild(node);
login_json 是官方带的例子。
this指向一个layer
我看TEST就是这么做的。
如果用uiReader 会出现 Read design size error!
使用ccs.load加载会出现 load not a function
用studio发布资源 。
然后加载 ,一下子就crash
var node = ccs.sceneReader.createNodeWithSceneFile(res.login_json);
this.addChild(node);
login_json 是官方带的例子。
this指向一个layer
我看TEST就是这么做的。
如果用uiReader 会出现 Read design size error!
使用ccs.load加载会出现 load not a function
cocos studio 是2.1.5
换成3.3,用ccs.load搞定了, 但是加载进来只是一个静态的, 我场景里面好多图片是有动画的。怎么让场景动起来呢?