大约有 85 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0045 秒)
...样区别并且操作呢? 3.最后我不使用分包的模式,直接require(bundle.js),可以进入游戏,并且可以玩,这个和微信小游戏感觉机制很不一样,既然可以require bundle.js进来,除了做进度展示外还有什么作用?对oppo的这个分包机制实...
来源: Laya_社区 发布时间: 20201221
...e (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (C:\Users\Administrator\Desktop\jjj.js:1:85) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:1...
来源: Laya_社区 发布时间: 20170424
...e.js:21112:7 at http://127.0.0.1:52880/game/code.js:21113:3 at require (http://127.0.0.1:52880/game/__ ... :13675) at http://127.0.0.1:52880/game/__ ... 13424 at http://127.0.0.1:52880/game/game.js:2:1 at require (http://127.0.0.1:52880/game/__ ... :13675) console.error...
来源: Laya_社区 发布时间: 20180504
...024/game/code.js:21155:7 at http://127.0.0.1:35024/game/code.js:21156:3 at require (http://127.0.0.1:35024/game/__ ... :14317) at http://127.0.0.1:35024/game/__ ... 13924 at http://127.0.0.1:35024/game/game.js:4:1 at require (http://127.0.0.1:35024/game/__ ... :14317) 2018-08-01 添加评论 免费...
来源: Laya_社区 发布时间: 20180801
...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
...一圈资料,发现这个问题并不是偶然,用了window.Parser = require("./js/dom_parser");],问题依旧。很多人都遇到同一个严重的问题,希望能重视起来,给大家一个完整清晰的解决方法! gameThirdScriptError t.getElementsByTagName is not a function Type...
来源: Laya_社区 发布时间: 20180530
...地址栏输入 chrome://flags/#autoplay-policy 选择 No user gesture is required,之后重启浏览器即可,chrome浏览器更新版本后的新增的安全策略。 2018-05-14 2 0 分享 微博 QZONE 微信 rabbit 赞同来自: layabox 、ayiui4566 iOS下声音在没有交互的情况下,...
来源: Laya_社区 发布时间: 20180509
...: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
...file in the package:app.json 12-09 22:04:33.108 12728-12832/? I/LayaBox: require(/sdcard/layabox/scripts/scripts/index.js) 12-09 22:04:33.109 12728-12832/? I/LayaBox: require(/sdcard/layabox/scripts/index.js) 12-09 22:04:33.110 12728-12832/? I/LayaBox: found the file in the package:scripts/index...
来源: Laya_社区 发布时间: 20181209
...要开发者在game.js里单独的引入xml解析文件,用法如下: require("weapp-adapter.js"); window.Parser = require("./js/dom_parser");这里还需要引入LayaAir引擎库,AS3跟JS或TS不一样,这里自行引入即可。 代码片段: var p = new HTMLDivElement(); Laya.stage.addC...
来源: Laya_社区 发布时间: 20180410