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

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

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

...的protobuf,微信跑不起来啊: protobuf.js中的这句: return Function.apply(null, keys.concat("return " + source)).apply(null, keys.map(function(key) { return scope[key]; })); // eslint-disable-line no-new-func 出来这个错误: WAGame.js:3 gameThirdScriptError Cannot read property '...

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

2. mac 开放域 发布失败 [ 98%]

...,请把此信息截图给研发商 Uncaught Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from null Error: Could not call remote function ''. Check that the function signature is co...

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

3. socket 注册message出错 [ 97%]

...                 Browser._window.addEventListener('message',function(e){                                 ^ TypeError: Browser._window.addEventListener is not a function     at Function.Browser.__init__ (D:\workspace\LayaAir\6\bin\h5\LayaSample.max.js:...

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

4. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 96%]

...测试地址:http://layaair.ldc.layabox.com ... xture  测试代码: (function() { var Skeleton = Laya.Skeleton; var Templet  = Laya.Templet; var Event    = Laya.Event; var Browser  = Laya.Browser; var Stat     = Laya.Stat; var WebGL    = Laya.WebGL; var Pool     = Laya.Pool;   var...

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

5. 屏幕截屏问题 [ 94%]

屏幕截屏问题 Offline.prototype.setSave=function(){ if( window.conch ) { window.conch.captureScreen(function(arrayBuff,width,height){ window.image = window.document.createElement("img"); window.image.putImageData(arrayBuff,width,height); }) } }     E/LayaBox: >>>>>>>>...

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

6. 在一个页面多放几个iframe,里面使用引擎,一般3-4个就报错了 [ 92%]

...ontexts provided (6) is greater than or equal to the maximum bound (6). at Function.<anonymous> (<anonymous>:10787:310) at Function.get (<anonymous>:168:66) at Function.WebAudioSound.initWebAudio (<anonymous>:10773:21) at Function.Browser.__init__ (<anonymous>:6184:57) ...

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

7. 关于微信小游戏渲染子域图的问题 [ 91%]

...); 上面这句报错: gameThirdScriptError value._addReference is not a function TypeError: value._addReference is not a function     at Texture.<anonymous> (http://127.0.0.1:10656/game/js/bundle.js:15188:19)     at Texture.__proto.setTo (http://127.0.0.1:10656/game/js/bundle.js:15065:1...

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

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

...@ gamePage.html:156 WAGame.js:3 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function     at Function.Browser.__init__ (http://127.0.0.1:51176/game/code.js:7140:21)     at Function._$GET_clientWidth (http://127.0.0.1:51176/game/code.js:7057:11)     at ht...

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

9. 使用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

10. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 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