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

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

51. 解决游戏最小化退到后台后浏览器会强制1秒执行一次ILaya.stage._loop() [ 49%]

...now()){}         }         postMessage(['ok']);     } catch (e) {         console.log("Exception in wait onmessage fuction!");     } } 2020-12-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

52. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 48%]

...content.meta.image = _name + _hash } _content = JSON.stringify(_content) } catch(e) { console.error(e) } file.contents = new Buffer(_content) this.push(file) return cb() }) }()) .pipe(gulp.dest('./server/static')) }) gulp.task('default', ['updata_atlas_version'])   供大家参考 ^_^ 附件 : --> ...

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

53. [LayaAir3]我直接将整个项目导出,使用Android Studio打开编译,然后构建运行,连接手机结果打开项目就闪退? [ 47%]

...response.status}: ${errorResponse}`, response.status, errorResponse ); } } catch (error) { if (error instanceof HttpException) { throw error; } else if (error instanceof Error) { throw new Error(`Network error: ${error.message}`); } else { throw new Error("Unknown network error occurred"); } } }); }...

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

54. 如何获取animation的node节点? [ 45%]

...i]._one = skillAniArray[i]; // 将渲染后的小切片追加到动画中 }catch(e) { console.log('warning: animation in loading'); // 过于频繁加载动画时给予警告 } }) } ani.interval = Math.round(1000/aniProps.mc[options.srcName].frameRate); // 设置动画的帧率 ani.autoPlay = option...

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

55. zip更新 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...se(localHeadStr) as RootDesc; await this._gitfs.setRoot(localHead.root); } catch (e) { } } 实际使用的时候,还要自己实现版本管理,界面,下载进度提示等功能。为了实现这些功能可能需要本地读写文件的接口,可以使用下面的全局函数: 这些接...

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

56. 深入理解LayaAir引擎架构和实现原理(三)引擎渲染主循环与AOP介入控制 [ 43%]

...是否包含Laya变量 var isLayaGame = true; try { var layaGame = Laya; } catch (e) { isLayaGame = false; } if (isLayaGame) { // laya 暂停状态 window.layaStatePause = false; // laya 需要单步次数 window.layaStepCount = 0; let rawRequestAnimationFrame = window.requestAnimationFrame; let ren...

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

57. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 36%]

...事件 this.btn_register.on(Laya.Event.CLICK, this, this._onRegister); } catch(e) { console.log(e); } } /** * 点击注册 */ private async _onRegister() { // console.table(this._arrCheck); } /** * 检查注册自信是否正确 */ private _checkRegInfo(): boolean { // TODO 还没有写检查!!!!! i...

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

58. Layabox web 复制一段文字到剪贴板 [ 33%]

...t msg: string = isAlertMsgInfo;             re = true;         } catch (e) {             console.error("Current equipment support Copy!");         }         return re;     } 2018-12-14 0 2 分享 微博 QZONE 微信 熊猫大侠 赞同来自: inputDiv = Browser.document.cre...

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

59. LAYABOX游戏实时语音之APP版本 [ 24%]

...d", message.getSenderID()); objCallBack.put("AudioTime", audioDuration); } catch (JSONException e) { e.printStackTrace(); } //这句就是执行LAYABOX里的我们写的JS方法(ExportJavaFunction.CallBackToJS这玩意在这好像没法用了,没有对像给他指定了,暂时没想到其他...

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

60. 安装layaair2-cmd一直失败 [ 22%]

...aair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript stand ard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: &...

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