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

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

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

...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

152. Laya.loader.create中的progress回调好像不准确? [ 59%]

...ayaScene_yueren/yueren.ls", Laya.Handler.create(this, function () { //complete func console.log("Scene loaded"); isLoaded = true; }), Laya.Handler.create(this, function (pro) { if (debug) console.log("Loading progresss : " + pro); }, null, false), Laya.Scene); Monica • 201...

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

153. laya.d3.core.Sprite3D [ 59%]

...事件类型是否是鼠标事件。 EventDispatcher  load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type...

来源: Laya2.0_api 发布时间: 20190513

154. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 59%]

...生效。 Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from PixelLineSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/...

来源: Laya3.0_api 发布时间: 20231102

155. 加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds [ 59%]

...nt16 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.p...

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

156. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 58%]

...发射粒子。 ShurikenParticleSystemEventEvent Summary Defined By  complete完成一次循环时调度。ShurikenParticleSystem  paused暂停时调度。ShurikenParticleSystem  played开始播放时调度。ShurikenParticleSystem  stopped停止时调度。ShurikenParticleSystemProperty ...

来源: laya_api 发布时间: 20170929

157. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...下载进度,例如文件下载时,值为1时表示已完成。 Event.COMPLETE:请求完成后触发,表示响应数据已经完全接收。 Event.ERROR:请求出错时触发,常用于网络故障等异常情况。 2.2 实战HTTP响应 在发送HTTP请求之后,我们直接通过异步...

来源: Laya3.0_文档 发布时间: 20251010

158. laya.d3.core.light.LightSprite_API3.0 [ 58%]

...生效。 Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from RenderableSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回掉。 Returns void Globals "laya/d3...

来源: Laya3.0_api 发布时间: 20231115

159. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 57%]

...示信息     var log = function(s) {     if (document.readyState !== "complete") {     log.buffer.push(s);     } else {     document.getElementById("output").textContent += (s + "\n");     document.getElementById("outputdiv").scrollTop = document.getElementById("outputdiv").scrollHeight...

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

160. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 57%]

...x1122 • 2018-03-28 10:33 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.p...

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