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

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

11. 使用Laya2.0做微信开放数据域是出错。 [ 90%]

... Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:673) at Function.MiniAdpter.init (laya.wxmini.js:91) at Function.MiniAdpter.enable (laya.wxmini.js:77) at Function.Browser.__init__ (laya.core.js:4125) at Object.Laya.init...

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

12. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 90%]

...aRender; private var mouseConstraint:*; private var engine:*; /***/ public function Retitution() { super(); this.width = stageWidth; this.height = stageHeight; setup(); } private function setup():void { initMatter(); initWorld(); Laya.stage.on("resize",this,onResize); } private function initMatter()...

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

13. LayaAir项目发布Flash版本 报错 [ 88%]

...owser.as:224] _window = RunDriver.getWindow(); public static var getWindow:Function = function():* { return __JS__('window'); } package { /** * @private */ public function __JS__(value:*):* { return null; } } 这是不再支持转flash版本的意思吗 2017-04-10 添加评论 免费帖 --> 分享 ...

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

14. 微信小游戏开发数据域在舒适化时会报错 [ 87%]

...会报错 Uncaught TypeError: Browser.document.addEventListener is not a function     at Function.AudioSound._initMusicAudio (index.js:10916)     at Function.Browser.__init__ (index.js:6944)     at Object.Laya.init (index.js:365)     at new Football_public (   2018-05-03 添加评论 免费...

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

15. LayaAir项目发布Flash版本 报错 [ 87%]

...owser.as:224] _window = RunDriver.getWindow(); public static var getWindow:Function = function():* { return __JS__('window'); } package { /** * @private */ public function __JS__(value:*):* { return null; } }   这是不再支持转flash版本的意思吗   2017-04-07 添加评论 免费帖 --> ...

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

16. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 87%]

...us) @ gamePage.html:148 VM163:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function     at Function.Browser.__init__ (http://127.0.0.1:61836/game/code.js:7139:21)     at Function._$GET_clientWidth (http://127.0.0.1:61836/game/code.js:7056:11)     at ne...

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

17. 微信小游戏加了子域报错 [ 86%]

...ght TypeError: Cannot read property 'USER_DATA_PATH' of undefined     at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:682)     at Function.MiniAdpter.init (laya.wxmini.js:92)     at Function.MiniAdpter.enable (laya.wxmini.js:78)     at Function.Browser.__init__ (laya.core.js:4135) ...

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

18. 2.0版本的子域还需要初始化MiniAdpter吗? [ 86%]

... Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:615) at Function.MiniAdpter.init (laya.wxmini.js:33) at Function.MiniAdpter.enable (laya.wxmini.js:19) at Function.Browser.__init__ (laya.core.js:8643) at Object.Laya.init...

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

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

...  request:fail invalid url "res/protobuf/Login.proto"   具体代码: (function () { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; console.log("!____________________________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoB...

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

20. TypeError: Laya.Browser.window.conch.setFontFaceFromBuffer is not a function [ 85%]

TypeError: Laya.Browser.window.conch.setFontFaceFromBuffer is not a function TypeError: Laya.Browser.window.conch.setFontFaceFromBuffer is not a function   2.0 打包apk启动就报这个错, 1.0 是没有问题的 2020-01-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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