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

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

41. 微信小游戏支持分包加载js代码,引擎只允许合成一个code.js,怎么可以导出分开的js去支持微信的分包加载 [ 74%]

微信小游戏支持分包加载js代码,引擎只允许合成一个code.js,怎么可以导出分开的js去支持微信的分包加载 6.19号微信放开4M包体限制支持分包加载。引擎一键导出小游戏工程不支持对接微信分包 2018-06-20 添加评论 免费帖 --> 分...

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

42. Oppo加载.ls资源错误 [ 74%]

...data/user/0/com.nearme.instant.platform/app_game/app/com.qire.SplashOppo/1/code.js:0:0     STACK:     [0]__proto._create@/data/user/0/com.nearme.instant.platform/app_game/app/com.qire.SplashOppo/1/code.js:13260     [1]__proto.create@/data/user/0/com.nearme.instant.platform/app_game/app/com.qir...

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

43. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 74%]

...e("./bytebuffer.js") window.ProtoBuf = require("./protobuf.js") require("./code.js"); game.js 里面这样引入试试。 2018-03-06 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你读取文件 一定要和文件里面的格式对应上 你怎么读的? 2018-03-06 0 0 分享 微博 QZON...

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

44. mac安装typescript的问题 [ 74%]

...npm v2.14.20 npm ERR! path /usr/local/lib/node_modules/typescript npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall mkdir npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/typescript' npm ERR! at Error (native) npm ERR! { [Error: EACCES: permission denied, mkdir '/...

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

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

...ocus is not a function at Function.t.__init__ (http://127.0.0.1:62307/game/code.js:1881:1176) at Object.Laya.init (http://127.0.0.1:62307/game/code.js:150:34) at new t (http://127.0.0.1:62307/game/code.js:227:575) at http://127.0.0.1:62307/game/code.js:8363:181 at http://127.0.0.1:62307/game/code.js...

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

46. 安装layaair2-cmd一直失败 [ 73%]

...RN notsup Not compatible with your version of node/npm: got@5.7.1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! gifsicle@4.0.1 postinstall: `node lib/install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the gifsicle@4.0.1 postinstall script. npm ERR! This is probably not a problem wit...

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

47. Laya IDE 编译太慢 [ 73%]

...按F5到启动完成界面打开10秒左右。   现在想改成使用 VS Code 来编译,在 VS Code 编译时出现如下错误(laya 包找不到,我自己定义的包也找不到): 请问:使用 VS Code 来编译之前用 LayaAir 创建的 TS adh项目,需做哪些处理才能正常...

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

48. [LayaAir2]iOS设备,抖音app报错 requestAnimationFrame [ 73%]

...nFrame callback err1" name: "USER_RUNTIME_ERROR" stack: "construct@[native code] at f(helium.js:4:269) at ?(helium.js:4:865) at ?(helium.js:6:1578) " __proto__: Object __defineGetter__: function() __defineSetter__: function() __lookupGetter__: function() __lookupSetter__: function() __proto__: null ...

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

49. 微信小游戏实时调试的问题 [ 72%]

...戏实时调试的问题 现在微信小游戏工程中game.js require了code.js,而微信小游戏的编译不会生成code.js,也就是编译了,看不了实时的效果,需要发布才行,发布会重新生成code.js。请问怎么样才可以实时调试啊,是有什么地方可以...

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

50. 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target [ 72%]

...: Error processing launch: Error Could not attach to main target 启动vscode运行编译好的项目,launch chrome浏览器会出现错误: Error processing launch: Error Could not attach to main target   请教下这个是什么原因导致?如何修复? 附件 : --> 2020-07-15 添加评...

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