[]spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!!

layaIDE: 1.7.20.1-beta
layaEngine: 1.7.20.1beta
 
window调试和微信模拟器都没有问题,上真机出现 动画里面的图片全部颠倒。
 
调试器:
TIM图片20180905110412.png

 
真机:

IMG_3351.PNG

 
使用官方sample里面的:raptor.sk 结果: 模拟器正常。真机如下:

IMG_3351.PNG

 

以下是代码:
    protected onEnter(){
this.img_sample.on(Laya.Event.CLICK, this, this.onImgClick);
Laya.loader.load("res/atlas/comp/skeleton.atlas");
//创建动画模板
this.templet = new Laya.Templet();
this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete);
this.templet.on(Laya.Event.ERROR, this, this.onError);
this.templet.loadAni("comp/skeleton/spineboy.sk");
}
protected onExit() {};

private onError() {
console.log("parse error");
}
private parseComplete() {
//从动画模板创建动画播放对象
let hero = this.templet.buildArmature(1);
hero.pos(200, 0);
//切换动画皮肤
hero.showSkinByIndex(0);
//播放
hero.play(0, true);
this.img_sample.addChild(hero);
this.sk_hero = hero;

Laya.timer.once(200, this, () => {
hero.on(Laya.Event.CLICK, this, this.onHeroClick);
let bbox = hero.getSelfBounds();
hero.hitArea = bbox;
});
}
IMG_3351.PNG
已邀请:

Aar0n

赞同来自:

这个1.0的用webgl模式,或者用1.7.15的相关类库替换一下现在的试一下,1.0不再维护

189*****410

赞同来自:

引擎大大,求解决。啥问题啊? 这个是官方的动画

189*****410

赞同来自:

没人回复解决,只有自己顶了!!!

189*****410

赞同来自:

还是没人回复,大问题啊!!!

Aar0n

赞同来自:

有没有尝试过 动画导出的时候改一个名字

Aar0n

赞同来自:

这个初始化的使用 用webgl 模式 ,canvas 可能是微信的bug。

Aar0n

赞同来自:

传个demo以供排查问题。

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作