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

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

41. 【分享】通过命令行调用compile.js编译,不使用laya-cmd [ 75%]

... set compilejs=%~dp0.laya\compile.js ::创建一个js文件 echo let app = require("electron").app>compile_temp.js echo let gulp = require('gulp')>>compile_temp.js echo let childprocess = require('child_process')>>compile_temp.js echo let defaultTask = "compile">>compile_temp.js...

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

42. 打包微信小游戏报错 ReferenceError: Matter is not defined [ 74%]

...报错:Matter is not defined, 在game.js里面添加了 let matter = require("matter.js"); window.Matter = matter; 但是还是不行,有没有其他方法解决 附件 : --> 2018-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

43. 如何引入npm包? [ 74%]

...码提示是有的,但是编译运行后就报错了,ReferenceError: require is not defined 是我引入的方式不对吗? 论坛里也没有搜到相关的,请大神给个typescript的使用例子       附件 : --> 2017-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

44. Error: 代码包大小为 6018 kb,上限为 4096 kb,请删除文件后重试 [ 74%]

...s not defined Error: module "libs/laya.wxmini.js" is not defined     at require (http://127.0.0.1:43425/game/__ ... :13569)     at http://127.0.0.1:43425/game/__ ... 13424     at http://127.0.0.1:43425/game/game.js:6:2     at require (http://127.0.0.1:43425/game/__ ... :13675)     at ...

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

45. 微信开发者工具出现错误:Laya3D init error must support webGl [ 73%]

...:111146:16)     at http://127.0.0.1:38102/game/code.js:111237:1     at require (http://127.0.0.1:38102/game/__ ... :13718)     at http://127.0.0.1:38102/game/__ ... 13432     at http://127.0.0.1:38102/game/game.js:4:1     at require (http://127.0.0.1:38102/game/__ ... :13718)     at http...

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

46. 飞机大战源码发微信小游戏提示VM122:1 gameThirdScriptError [ 73%]

...307/game/code.js:8363:181 at http://127.0.0.1:62307/game/code.js:8364:2 at require (http://127.0.0.1:62307/game/__ ... :13675) at http://127.0.0.1:62307/game/__ ... 13424 at http://127.0.0.1:62307/game/game.js:4:1 at require (http://127.0.0.1:62307/game/__ ... :13675) at http://127.0.0.1:62307/game/...

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

47. 救命啊,遇到苹果爸爸 Guideline 2.5.2 [ 73%]

...ne 2.5.2 问题.   原文如下: Guideline 2.5.2 - Performance - Software Requirements     Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change your app’s behavior or functionality after App Review approval, which is not in complianc...

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

48. Laya打包微信小游戏的时候,引入的外部js访问不到 [ 73%]

... is not defined     at http://127.0.0.1:19768/game/code.js:60:1     at require (http://127.0.0.1:19768/game/__ ... :78871)     at http://127.0.0.1:19768/game/__ ... 78480     at http://127.0.0.1:19768/game/game.js:4:1     at require (http://127.0.0.1:19768/game/__ ... :78871)     at <...

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

49. 微信小游戏的位图字体加载报错! [ 72%]

...一圈资料,发现这个问题并不是偶然,用了window.Parser = require("./js/dom_parser");],问题依旧。很多人都遇到同一个严重的问题,希望能重视起来,给大家一个完整清晰的解决方法! gameThirdScriptError t.getElementsByTagName is not a function Type...

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

50. html5发布iOS编译报错 [ 72%]

...ing: ld: warning: ignoring file ../LayaRuntime-iOS/libs/libjpeg.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libjpeg.a (2 slices)ignoring file ../LayaRuntime-iOS/libs/libconch.a, missing required architecture x86_64 in file ../LayaRuntime-iOS/libs/libconch.a (2 slices)igno...

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