Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

Spine 动画在web平台不能显示

$
0
0

@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

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>