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

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

31. 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. [ 79%]

...来的安全策略的变动 需要添加  autoplay-policy=no-user-gesture-required reverts 需要自己处理一下,如果你只是做移动游戏,就选个旧点的PC浏览器调试即可。 2018-05-03 3 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已...

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

32. 子域的Laya.init报错(工程在附件) [ 78%]

...作为开放数据域的子项目,步骤应该是没问题的,现在是require(code.js)就报错了。调试环境是微信开发者工具。 附件 : --> wxgame.rar 2018-05-09 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

33. 微信小游戏,请先初始化小游戏适配库 [ 78%]

...us) @ code.js:7057 (anonymous) @ code.js:53348 (anonymous) @ code.js:53360 require @ WAGame.js:3 (anonymous) @ WAGame.js:3 (anonymous) @ game.js? [sm]:2 require @ WAGame.js:3 (anonymous) @ gamePage.html:156 WAGame.js:3 gameThirdScriptError window.focus is not a function TypeError: window.focus is no...

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

34. 如何使用vscode编译laya项目 [ 78%]

...argv.split("=")[1].replace("/.laya/compile.js", ""); } } [/b] const gulp = require(ideModuleDir + "gulp"); const rollup = require(ideModuleDir + "rollup"); const typescript = require(ideModuleDir + 'rollup-plugin-typescript2');//typescript2 plugin const glsl = require(ideModuleDir + 'rollup-plugin-g...

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

35. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 78%]

...差异,下面这行<script type="text/javascript" src="node_modules/requirejs/require.js"></script>  ,而vscode里可以注释掉,还是正常。   用VS Code测试: 运行后一切正常: 而layaAir IDE,如果注释掉这一行,就一片空白,不会输出任何东西...

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

36. 微信小游戏 [ 77%]

...737/game/code.js:28297:7 at http://127.0.0.1:49737/game/code.js:28300:3 at require (http://127.0.0.1:49737/game/__ ... :13675) at http://127.0.0.1:49737/game/__ ... 13424 at http://127.0.0.1:49737/game/game.js:4:1 at require (http://127.0.0.1:49737/game/__ ... :13675) 2018-05-10 添加评论 免费...

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

37. 官网的微信小游戏2D例子,发布以后无法运行 [ 76%]

...is not defined     at http://127.0.0.1:16026/game/code.js:29:15     at require (http://127.0.0.1:16026/game/__ ... :96033)     at http://127.0.0.1:16026/game/__ ... 95643     at http://127.0.0.1:16026/game/game.js:3:30     at require (http://127.0.0.1:16026/game/__ ... :96033)     at &lt...

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

38. 请问下现在Laya支持接入百度开放域吗 [ 76%]

...adapter.js.Object.defineProperty.value (weapp-adapter.js:243) at __webpack_require__ (weapp-adapter.js:20) at Object.../../../Laya2.0Project/MiniDemo/release/bdgame/openContext/weapp-adapter.js.Object.defineProperty.value (weapp-adapter.js:138) at __webpack_require__ (weapp-adapter.js:20) at Object....

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

39. 发布的微信小游戏代码运行出错 [ 75%]

...: Window is not defined at http://127.0.0.1:11874/game/code.js:1:773096 at require (http://127.0.0.1:11874/game/__ ... :13718) at http://127.0.0.1:11874/game/__ ... 13432 at http://127.0.0.1:11874/game/game.js:4:1 at require (http://127.0.0.1:11874/game/__ ... :13718) at http://127.0.0.1:11874/game/...

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

40. 微信小游戏引用spine-core-3.8.js报错 [ 75%]

...AGame.js:2 Error: module "libs/spine-core-3.8.js" is not defined     at require (VM97 WAGameSubContext.js:2)     at a (VM97 WAGameSubContext.js:2)     at index.js? [sm]:28     at require (VM97 WAGameSubContext.js:2)     at a (VM97 WAGameSubContext.js:2)     at game.js? [sm]:9   ...

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