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

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

391. laya2.0引入第三方库失败 [ 84%]

... Error: Cannot find module '../../libs/pb2' from 'E:\myLaya2D\src\script' at D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\a...

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

392. bug,ChainCollider.points第二次设置,会报错! [ 84%]

... { //停止事件冒泡,提高性能,当然也可以不要 e.stopPropagation(); //舞台被点击后,使用对象池创建子弹 let flyer: Laya.Sprite = Laya.Pool.getItemByCreateFun("bullet", this.bullet.create, this.bullet); flyer.pos(Laya.stage.mouseX, Laya.stage.mouseY); this._gameBox.addC...

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

393. 在微信开发者工具里面运行时候报错 [ 84%]

...具里面运行时候报错 gameThirdScriptError Unexpected number in JSON at position 1;at api readFile success callback function SyntaxError: Unexpected number in JSON at position 1 at JSON.parse (<anonymous>) 附件 : --> 2018-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

394. 请问例子特效导出时报错? TypeLoadException: Could not load type 'MainModule'. [ 84%]

...pe 'MainModule'.  TypeLoadException: Could not load type 'MainModule'. LayaTools.DataManager.createFileLH2 (LayaTools.NodeLH nodeLH, .JSONObject subNode) LayaTools.DataManager.createFileLH2 (LayaTools.NodeLH nodeLH, .JSONObject subNode) LayaTools.DataManager.createFileLH2 (LayaTools.NodeLH nodeLH, ...

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

395. Error: add shader include file err:LightHelper.glsl [ 84%]

...: 183*****755 Error: add shader include file err:LightHelper.glsl     at laya.webgl.shader::Shader$/addInclude()     at Laya3D$/_initShader()     at Laya3D$/init()     at LayaUISample()     at MethodInfo-2244() 我用LayaAirIDE_1.5.1 发布flash版本  发布出来的swf运行时报...

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

396. 加载unity导出场景失败 [ 84%]

...known file(E:/LayaAir/ZJKZWDT/bin/main/SMain.ls) extension with: ls.     at LoaderManager.__proto._create (file:///E:/LayaAir/ZJKZWDT/bin/libs/laya.core.js:12981:11)     at LoaderManager.__proto.create (file:///E:/LayaAir/ZJKZWDT/bin/libs/laya.core.js:12969:21)     at Function.Scene.load (file...

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

397. 发布为微信小游戏,加载字体失败 [ 84%]

...not a function TypeError: xml.getElementsByTagName is not a function     at BitmapFont.__proto.parseFont (http://127.0.0.1:53804/game/code.js:803:17)     at Loader.__proto.onLoaded (http://127.0.0.1:53804/game/code.js:12700:11)     at HTMLImage.onload (http://127.0.0.1:53804/game/code.js:21213...

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

398. 加载多个protobuf文件报错 [ 84%]

...o", type:Loader.TEXT } );        Laya.loader.load(assets, Handler.create(this, onAssetsLoaded));   首先确认下类型是为TEXT吗,如果这样写就是报如下错 Uncaught Error: Parse error at line 1: unexpected 'undefined'     at Parser.ProtoBuf.DotProto.ParserPrototype.parse (pro...

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

399. 项目路径中有中文 [ 84%]

...\beijingfengzhuagn.js  error------- ReferenceError: onloop is not defined at BackGround._proto.init (file:///E:/HTML5/%E9%A1%B9%E7%9B%AE/feiji/src/beijingfengzhuagn.js:24:32) at new BackGround (file:///E:/HTML5/%E9%A1%B9%E7%9B%AE/feiji/src/beijingfengzhuagn.js:9:14) at new Game (file:///E:/HTML5/%E...

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

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

...aught 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