[]加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds
var roleTemp = new Templet();
roleTemp.on(Event.COMPLETE, this, function(){
var roleAni = roleTemp.buildArmature(1);
Laya.stage.addChild(roleAni);
})
roleTemp.loadAni('res/spine/knight/effect1.sk');
SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));
roleTemp.on(Event.COMPLETE, this, function(){
var roleAni = roleTemp.buildArmature(1);
Laya.stage.addChild(roleAni);
})
roleTemp.loadAni('res/spine/knight/effect1.sk');
SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
qian
赞同来自: