[LayaAirIDE 2.0]使用IDE制作的动画在pc模拟器播放OK在手机端不显示

loaded : function(){
this.loader = Laya.loader;
this.loader.retryNum = 0;//无加载重试
this.urls = ['imgdebris/imgdebris.atlas','imgdebris/p1_slj.png',];
// this.loader.load(this.urls[0], Laya.Handler.create(this, this.onAssetloaded));
this.loader.load(this.urls,this.Handler.create(this,this.onAssetloaded),this.Handler.create(this, this.onLoading, null, false));
},
onAssetloaded : function(texture){
this.tl = new Laya.Animation();
//加载动画文件
this.tl.loadAnimation("imgdebris/naruto2.ani");
//添加到舞台
var apesCtn = new Laya.Sprite();
Laya.stage.addChild(apesCtn);
var _this = this;
this.tl.on(this.Event.COMPLETE,this,function(){
_this.tl.stop();
})
console.log(this.tl)
this.tl.interval = 1000 / 60;
// this.tl.play();

apesCtn.addChild(this.tl);
apesCtn.height = 1500;
apesCtn.width = 3248;
this.tl.pivot(-1624,-750);

},
已邀请:

Aar0n

赞同来自:

需要上传demo才能查问题的。

要回复问题请先

商务合作
商务合作