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

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

1021. 项目做了一周.然后打不开了.怎么办? [ 65%]

...ayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:390:36) at EventEmitter.restartServer.getPort (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.js:372:18) at Server.<anonymous> (E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\vs\layaEditor\h5\codemain.j...

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

1022. TiledMap加载失败的问题 [ 65%]

...e:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.tiledmap.js:165:20) at EventHandler.__proto.runWith (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:670:60) at Loader.__proto.event (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:450:29) at Loader.__proto.endLoad (f...

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

1023. spine适配版微信开发者平台报错 [ 65%]

...ineVersion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); }加载方式用的官方案例,本地跑是没问题的 2021-12-07 0 0 分享 微博 QZONE 微信 northTg 赞同来自: 有...

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

1024. iPhone6 ios 8.3系统 最新的QQ 锁屏再解锁 游戏闪退 [ 65%]

...te"; } //监听QQ内置浏览器切换至后台事件  window.document.addEventListener("qbrowserVisibilityChange", function(e):void{ trace("监听QQ缩小至后台事件:"+(!e.hidden ? "前置显示":"后台隐藏")); isStopLoop = e.hidden; if (e.hidden) { _isVisibility = false; if (_this._isInput...

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

1025. 屏幕居中的一个弹框中,放两个input type=text,手机上显示,当点击其中一个输入框,输入法弹出,另外一个就不focus了 [ 65%]

...回复 Laya_XS 赞同来自: 显示对象失去焦点后调度,会调用Event.BLUR 显示对象获得焦点后调度,会调用Event.FOCUS   你在点击第一个input后,输入键盘会把画布弹起来,这时你是没办法点击下面那个输入框的,你需要在输入键盘收齐后...

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

1026. 导入微信小游戏的时候 [ 65%]

...t ResInfo.onLoaded (http://127.0.0.1:65353/game/code.js:12995:61)     at EventHandler.__proto.runWith (http://127.0.0.1:65353/game/code.js:711:59)     at ResInfo.__proto.event (http://127.0.0.1:65353/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:65353/game/code.j...

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

1027. 音乐与音效的播放与控制(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 65%]

...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示...

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

1028. 精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 65%]

...毕,此方法只执行一次 */ onAwake(): void { this.sprite2.on(Laya.Event.MOUSE_DOWN, this, this.test2);//设置监听,sprite1或sprite2均可 console.log(this.sprite1.mouseEnabled);//打印父节点sprite1的MouseEnabled的值:true console.log(this.sprite2.mouseEnabled);//打印子节点sp...

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

1029. 粒子编辑器报错 [ 64%]

...10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:38985:25) at EventHandler.__proto.run (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/laya.js:649:27) at TabEx.__proto.event (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/laya.js:442:53) at Ta...

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

1030. safari横屏在一定条件下会出现显示内容错位问题。必现!! [ 64%]

... 2 个回复 cuixueying 赞同来自: 你试下,给Laya.Stage监听一个Event.RESIZE事件,在RESIZE的回调里重置下适配模式看下能不能避免这个问题! 2017-07-07 0 4 分享 微博 QZONE 微信 yung 赞同来自: 如果不下移,那么上面会被地址栏挡着一部分,...

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