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

大约有 298 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0038 秒)

101. 多个骨骼动画怎么按顺序播放? [ 74%]

... 2 个回复 Monica - 知识达人 赞同来自: 监听播放完成事件COMPLETE,在回调函数中播放下一个即可 2017-09-20 0 1 分享 微博 QZONE 微信 189*****192 赞同来自: animationUI.animation.on(Event.COMPLETE, this, this.onAnimationEnd);  监听动画播放完成 再开始播...

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

102. 资源加载事件监听 [ 74%]

...载事件是否可以监听, 比如类似这样 Laya.stage.on(Laya.Event.COMPLETE, this, this.OnLoadLog); 2017-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 资源加载有Event.L...

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

103. Clip组件Bug:Play方法无法结束循环 [ 74%]

...erval = interval;         }          this.on(Laya.Event.COMPLETEthis, () => {             this.destroy();         });         this.frameIndex = 0;         isLoop ? this.toFrameIndex = -1 : this.toFrameIndex = (cols * rows -...

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

104. 用Loader加载完atlas,然后使用animation播放问题 [ 74%]

...s._load.on(Laya.Event.ERROR, this, this.onError); this._load.on(Laya.Event.COMPLETE, this, this.loadComplete); this._load.load(this._data.url, Laya.Loader.ATLAS, true); 加载完成后 this._ani = new Animation(); this._ani.loadImages(这里传入解析好的urls) 会提示重复加载 为什么我...

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

105. 2.0版API“loadImage”改了吗? [ 74%]

... 0, 0, Handler.create(this, function(){                 trace("complete!!");   为何没有complete出现??  另外,有没有1.0和2.0 API更新对照表? 2018-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

106. 手机调试时http请求错误,返回Request failed Status:0 [ 74%]

...Laya.Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Laya.Event.COMPLETE, this, (response)=>{ UIFactory.closeWaitBar(); this.onHttpRequestComplete(response); if(handleOk){ handleOk(response); } }); hr.once(Laya.Event.ERROR, this, (e)=>{ UIFactory.closeWaitBar(); this.onHttpRequestEr...

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

107. Laya.MovieClip() new的时候崩溃了,在线等,很急!!!! [ 74%]

...lay(0,false); this.swfAni.visible = true; this.swfAni.on(laya.events.Event.COMPLETE, this, this.onSWFPlayComplete,[state]); return this.swfAni; } 2017-05-05 5 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zuojianfei...

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

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

...动画模板 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...

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

109. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 73%]

...te = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuffer; ...

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

110. l龙骨动画内存上升 [ 73%]

...;             tem.loadAni(url);             tem.on(Event.COMPLETE, this, function():void {                 longgu = tem.buildArmature(0);                 longgu.pos(dragronX, dragronY);                 parent.addChild(longgu);            ...

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