@muralkz 写道:
代码如下:
var sp=sp||{};
var HelloWorldLayer=cc.Layer.extend({
.....
var spineboy=new sp.SkeletonAnimation(res.spineboy_json,res.spineboy_atlas);
spineboy.x=size.width/2;
spineboy.y=size.height/4-100;
spineboy.scale=0.5;
spineboy.setMix("walk","jump",0.1);
spineboy.setAnimation(0,"walk",true);
this.addChild(spineboy,6);
......
project.json 中modules:["cocos2d","spine"],
cocos2d-js-v3.3 和 3.13.1都有这样的问题
但js-v3.3在win32 平台可以正常显示 不知道哪里出错了?
帖子: 1
参与者: 1