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

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

1. Laya.URL.basePath加载不到网络资源 [ 100%]

...roto._onError @ code.js:12523 http.onerror @ code.js:12485 _triggerEvent @ weapp-adapter.js? [sm]:1247 fail @ weapp-adapter.js? [sm]:1382 (anonymous) @ WAGame.js:3 (anonymous) @ WAGame.js:4 s.emit @ WAGame.js:4 (anonymous) @ WAGame.js:4 (anonymous) @ WAGame.js:4 a @ gamePage.html:1 (anonymous) @ gam...

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

2. 微信小游戏调试报错window is not defined [ 93%]

...19-01-05 0 0 分享 微博 QZONE 微信 半生回忆 赞同来自: import "weapp-adapter.js"; 2019-01-05 0 2 分享 微博 QZONE 微信 Baez 赞同来自: 可以先手动改一下game.js详情看这里  https://ask.layabox.com/question/40289 2019-01-19 0 0 分享 微博 QZONE 微信 腊笔小新 ...

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

3. 真机环境找不到window---cant find variable: window stack [ 88%]

...e("libs/laya.bdmini.js"); } else if (typeof wx !== 'undefined') { require("weapp-adapter.js"); require("libs/laya.wxmini.js"); } window.loadLib = require; require("index.js"); 2019-01-08 2 4 分享 微博 QZONE 微信 136*****109 赞同来自: 遇到同样的问题,也是beta5.1 2018-12-15 0 1 分...

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

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

...ined ReferenceError: ui is not defined 我是这样引入的 require("weapp-adapter.js"); require("code.js"); require("js/ui/layaUI.max.all.js"); require("js/LayaUISample.js"); 其实说了这么多,你真不如传个demo,5分钟的事情,如果你的方...

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

5. 微信小游戏关系链 我创建了一个开放域的项目 但是报错了 [ 84%]

...微博 QZONE 微信 wxj56406542 赞同来自: 在开放数据域中引入 weapp-adapter 这个文件了吗? 2018-09-14 0 0 分享 微博 QZONE 微信 wxj56406542 赞同来自: 在开放数据域中引入 weapp-adapter 这个文件了吗? 2018-09-14 0 0 分享 微博 QZONE 微信 为什么被...

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

6. 微信小游戏开放数据域报错 [ 79%]

... 的指导下,确认了这个问题是由于开放数据域没有引入weapp-adapter.js这个文件导致的 2018-05-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zeroclan8 相关问题 关于微信小游戏关系链的问题 【...

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

7. 微信小游戏中不能加载proto文件 [ 77%]

...的xhr引用的是lib.es6.d.ts里的XMLHttpRequest,微信里引用的是weapp-adapter.js里的XMLHttpRequest,所以才会出现Laya里可以解析成功,微信里解析失败的问题。 Laya_Aaron • 2018-07-05 14:12 @Prajna:这个protobuf 是无关语言和平台的,具体使用效果也...

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

8. 微信小游戏运行异常! [ 76%]

... let matter = require("lib/matter.js"); window.Matter = matter; require("weapp-adapter.js"); require("code.js");   paopaolong.rar 2018-07-25 0 4 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个没问题呀,有matter 就有common的 你这个项目可以玩 2018-07-28 0 1 分享 微博 Q...

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

9. 微信小游戏加载 BitmapFont 问题 [ 75%]

...ont 出错 ------------------------ game.js 里面有添加这些 require("weapp-adapter.js"); window.Parser = require("./js/dom_parser"); require("code.js");在加载这个文件的时候 Laya.loader.load([{ url: "button_font.fnt" }], Handler.create(null, onLoaded)); 图片里的 type="font",最...

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

10. matter.js mouseconstraint在微信小游戏中无效 [ 75%]

... ggxxyy 赞同来自: 陈一少 、陈琼 我已解决此问题,需修改weapp-adapter.js,两个地方: 1、module2里给window对象添加pageXOffset和pageYOffset属性: var ontouchstart = exports.ontouchstart = null;     var ontouchmove = exports.ontouchmove = null;     var ontouc...

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