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

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

151. Laya2.0 beta3 Animator 中的 on 事件 怎么没了 [ 68%]

...Animator);//监听默认动画完成后播放站立动画ani.on(Laya.Event.COMPLETE,this,this.onAniComplete,[ani]);   可是 实际上并没有啊。 没有 on 这个 函数了 .  要用什么代替啊?  2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

152. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 68%]

...ROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失败后返回 //post数据的写法 console.log(JSON.stringify(request)); this....

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

153. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 68%]

...离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; Floor.__super.call(this); } //事件名称 //超过屏幕一定值出发新的floor事件 Floor.OUT_COMPLETE = "floor_out_complete"; //整...

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

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

...e(); 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); }, 2019-01...

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

155. Unity导出的特效,怎么缓存让第一次加载的时候不卡呢 [ 67%]

...particleSystem;                         particle.on(Laya.Event.COMPLETE, this, function(){                             actor.mView.root.removeChild(effect);                         });                     }); 2017-06-15 0 0 分享 微博 QZONE 微信 1...

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

156. Animation播放完一次动画后的回调问题 [ 67%]

...imation播放完一次动画后的回调问题 starView.ani1.on(Laya.Event.COMPLETE,null,OnAnimation); 这个ani1是这个动画这样设置回调不对吗? 我看API那边事件就是这个COMPLETE 2017-02-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

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

157. 微信头像请求方式 [ 67%]

...求 let httpRequest = new Laya.HttpRequest(); httpRequest.once(Laya.Event.COMPLETE, this, (data)=>{ let byte = new Laya.Byte(data); byte.writeArrayBuffer(data, 4); let blob = new Laya.Browser.window.Blob([data], {type:'image/apng'}); let url = Laya.Browser.window.URL.createObjectURL(blob); showIm...

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

158. H5页面的骨骼动画不能显示完整,兼容性问题? [ 66%]

...ishIndex]; this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.mFactory.loadAni(aniPath); } // 动画解析完成,添加到舞台,并且开始swim parseComplete(): void { this.mArmature = this.mFactory.buildArmature(0); this.mArmature.x = 0; th...

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

159. 【简单跑酷--JS版】---Lv.6 终篇 [ 66%]

...离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; //当前地板上面的物品集合 this.itemList = ; Floor.__super.call(this); } //事件名称 //超过屏幕一定值出发新的floor事...

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

160. 为何用MovieClip加载Swf会造成H5卡死,且不报错? [ 66%]

...错? var mc:MovieClip = new MovieClip(); Laya.stage.addChild(mc); mc.on("complete", this, function (evt:Event){ trace("swf complete"); }); mc.load("../../res/swf/mapFlash.swf"); 为何加了这段代码,整个H5就如“死机”,点浏览器的刷新都不管用? 也不抱错? 2017-01-18 ...

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