• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 87 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)

51. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 61%]

...TempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton....

来源: Laya2.0_文档 发布时间: 20210715

52. 关于3D动画的ani监听播放完毕后,播放默认动画不行 [ 60%]

...ni监听播放完毕后,播放默认动画不行 this.mAni.on(Laya.Event.COMPLETE,this,this.aniComplete); this.mAni.play("free") aniComplete(type:number):void {    this.mAni.play("ready"); }   播放完指定动画后,这个回调不执行。   附件 : --> pkwang3D.rar 2017-11-16 添加评...

来源: Laya_社区 发布时间: 20171116

53. 关于spine资源加载以及创建Laya.Templet问题 [ 60%]

....Templet = new Laya.Templet(); tm.loadAni("res/imgs.sk"); tm.on(Laya.Event.COMPLETE, this,()=>{       //是不是只能在这里面创建动画,这里创建,那我如何全局使用????????       var skp = this.buildArmature(1);       skp.showSkinByIndex(1); })   我...

来源: Laya_社区 发布时间: 20170821

54. 如何定义动画播放过某帧后的回调函数 [ 60%]

...2 浏览: 2501 关注: 2 人 182*****369 • 2016-12-14 20:35 ani.on(Event.COMPLETE,this,tryto); 没有这种对动画本身添加的监听,您能给贴一个简单的demo吗 qq502416708 • 2017-02-14 17:06 @cuixueying:你这是认真的还是开玩笑的。。。没人会这么写代码吧。。...

来源: Laya_社区 发布时间: 20161214

55. ani动画问题,cannot read property '_tf' of null [ 60%]

....ani1.play(0, false);//出错了             this.ani1.on(Laya.Event.COMPLETE, this, () => {                 this.removeSelf();             });         } 这样播放动画有时候会报错,如附件图,但有时候又不报错 附件 : --> 2017-06-14 添加评论 免...

来源: Laya_社区 发布时间: 20170614

56. box2d引擎报错问题 [ 59%]

...= new Laya.Animation(); ani.loadAnimation("catFly.ani"); ani.on(Laya.Event.COMPLETE, null, recover); function recover(): void { ani.removeSelf(); Laya.Pool.recover("deathEffect", ani); } return ani; } 附件 : --> 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

来源: Laya_社区 发布时间: 20191019

57. [LayaNative3]laya3List 里面的itemrender会被清掉 [ 59%]

...islooping属性会被覆盖 为什么load 的progress会被执行两次,complete在加载失败时也会执行 采用on绑定事件后,界面释放时,持有的回调对象句柄会被清除吗?谢谢! LayaAirIDE文件树最后一个文件会被状态栏遮挡,即使关闭状态栏也不...

来源: Laya_社区 发布时间: 20240522

58. 龙骨动画的监听回调,有时能回调,有时不能回调 [ 59%]

...Templet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadAni("res/games/Game_ddz/animation/ddz_figures_lan...

来源: Laya_社区 发布时间: 20190821

59. 学习官方视频教程中飞机大战游戏出现的问题!! [ 58%]

...his.addChild(this.playAnim);             this.playAnim.on(Laya.Event.COMPLETE,this,this.onPlayComplete);         } onMouseMove():void{         //根据鼠标位移主角方法         this.hero.pos(Laya.stage.mouseX,Laya.stage.mouseY);     }     2018-05-03 0 0 分享 微博 QZO...

来源: Laya_社区 发布时间: 20180502

60. load完成后能否获取到具体是哪个对象资源完成 [ 58%]

...ng): void { Laya.loader.create(path, Laya.Handler.create(this, this.OnAssetComplete)); } private OnAssetComplete(): void { console.log("on asset complete:"); } 我想在OnAssetComplete内知道是哪个资源被回调了,请问要怎样处理,是否有现成的接口,我看了一下文档,...

来源: Laya_社区 发布时间: 20180316