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

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

101. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 70%]

...ad property 'LESS' of null     at Function.value (http://127.0.0.1:43542/game/li ... :19438)     at Object.value [as init] (http://127.0.0.1:43542/game/li ... 515524)     at new Main (http://127.0.0.1:43542/game/js/bundle.js:267:90)   LESS是LayaGL.instance的属性,报错位置在WebGLCont...

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

102. [经验分享]关于2.0微信小游戏发布问题 [ 70%]

...mini.js这个脚本不要删掉。 如果你发布出现code.js报错,将game.js里的code.js改成index.js 如果报错找不到app.json的话,app.json,这是小程序才用的。LayaAir只能支持小游戏,不支持小程序的发布 如果发布出来的小游戏黑屏不显示不报错...

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

103. 屏幕截屏问题 [ 70%]

...;>>>>>>>>>>>>>>className:layaair/game/browser/ExportJavaFunction,methodName:captureScreen            >>>>>>>>>>>>before E/LayaBox: >>>>>>>>>>>>after E/temp: >>>>>&...

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

104. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 70%]

...location: /data/user/0/com.vivo.hybrid/app_resource/com.chenxing.vivominigame/jsfile:///C:\Users\74741\AppData\Roaming\Tencent\QQTempSys\OOY5$4OW5H`8`9%(9$)T67M.gifndle.js:0:0        [ERROR] (/opt/jenkins/workspace/vivo_vfile:///C:\Users\74741\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYE...

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

105. 发布到微信小游戏,编译报错Laya is not defined [ 70%]

...问题 2020-04-14 0 0 分享 微博 QZONE 微信 ITJacob 赞同来自: 在game.js文件中加上require("libs.js");即可,好像说微信小游戏自带了laya包,不过本地调试的时候加上这条就好了,把libs 里的require("./libs/laya.core.js");加上,本地环境里就有laya了...

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

106. ReferenceError: Matter is not defined怎么解决 [ 70%]

...1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 如果是小游戏在game.js 里面加window.Matter = Matter; 2018-08-02 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 steven chan 相关问题 laya针对...

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

107. Laya 3.0 在场景里拖动报move nan 拖动的物体不见了,只能在属性哪里改变xyz [ 70%]

... 2 个回复 LayaAir3 赞同来自: 你这个deom怎么运行报错呢? [Game] Error loading res://a7daa100-5ced-4cd1-820d-82ed9838d4cf: Error: unknown runtime '7bad1742-6eed-4d8d-81c0-501dc5bf03d6',TypeError: cls is not a constructor     [Game] Uncaught (in promise) TypeError: Cannot read prope...

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

108. 报错"prompt() is and will not be supported" [ 70%]

...错 IDE通过.ui自动生成的ui代码报错 启动引擎报错 mPlugin.game_plugin_init(3); 问题状态 最新活动: 2018-10-20 15:36 浏览: 655 关注: 2 人 133*****669 • 2018-10-26 18:46 好的谢谢。

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

109. bundle.js中父类声明在子类后面,继承的时候会报错 [ 70%]

...的链接 提交 3 个回复 Laya_Aaron 赞同来自: answerHom client\src\game\gui\base\PageContainer.ts client\src\game\gui\TopUI.ts   解决这块的循环引用, 因为循环引用所以不知道先后顺序 2019-09-18 1 3 分享 微博 QZONE 微信 answerHom 赞同来自: demo稍后发送 20...

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

110. 1.7.3之后的版本,重复类名出现bug [ 69%]

...来,命名的时候都是错乱的 比如: __class(StartUpCommand,'com.game.modules.hall.controller.StartUpCommand',_super); __class(StartUpCommand,'com.game.modules.login.controller.StartUpCommand',_super,'StartUpCommand$1'); __class(StartUpCommand,'com.game.shell.controller.StartUpCommand',_su...

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