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

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

11. layaair1.5.4测试版本ide下调试 报protobuf错误 [ 81%]

...行mei没有报错 运行正常   sg_proto msg_cs {ProtoBuf: Object} conf_game {ProtoBuf: Object} CarProtoModel {msg_proto: msg_cs, conf_proto: conf_game, _callBack: null, _proxy: Proxy, _data: null…} TypeError: require is not a function at Object.ProtoBuf.Util.Util.fetch (file:///D:/workspace_la...

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

12. 使用layaAirIDE打包APK问题 [ 81%]

...“0% init”状态。 但是看对应输出目录下,过一会会生成game.apk文件。但是IDE界面里这个状态一直不变。 (2)在模拟器或是手机上安装此game.apk文件,启动后出来layabox的启动画面后 报停止运行。用ddms看到日志里有  A/libc(972): Fat...

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

13. Laya打包微信小游戏的时候,引入的外部js访问不到 [ 80%]

...efined ReferenceError: math is not defined     at http://127.0.0.1:19768/game/code.js:60:1     at require (http://127.0.0.1:19768/game/__ ... :78871)     at http://127.0.0.1:19768/game/__ ... 78480     at http://127.0.0.1:19768/game/game.js:4:1     at require (http://127.0.0.1:19768/game/_...

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

14. 打包后报错 Unexpected token in JSON at position 266 [ 80%]

打包后报错 Unexpected token in JSON at position 266 VM392:1 gameThirdScriptError Unexpected token in JSON at position 266;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 266     at JSON.parse (<anonymous>)     at Function.MiniAdpter.getJson...

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

15. Error: 代码包大小为 6018 kb,上限为 4096 kb,请删除文件后重试 [ 80%]

...: 删除 libs 文件夹后, 微信开发者工具直接报错: VM125:1 gameThirdScriptError module "libs/laya.wxmini.js" is 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/__ ... 13...

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

16. laya调试问题 [ 80%]

...renceError: laya is not defined at file:///E:/project/svn/trunk/src/Client/GameTs/bin/js/net/ByteFunc.js:4:12 ReferenceError: laya is not defined at file:///E:/project/svn/trunk/src/Client/GameTs/bin/js/common/GameTimer.js:2:15 ReferenceError: laya is not defined at file:///E:/project/svn/trunk/src/...

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

17. 建立项目就报错 是什么原因 [ 79%]

...r 10000 ms - (reason: Can't find a target that matches: file:///d:/project/GAME-KP(WX-GAME.program)/bin/index.html. Available pages: ["file:///D:/project/GAME-KP(W 附件 : --> 2018-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

18. 微信发布教程JS文件路径 [ 78%]

微信发布教程JS文件路径 在AS3中JS文件绝对路径是:D:\Game\Client\Game\bin\h5\wxlocal\libs,那微信发布后,JS文件应该手工复制到哪里去(绝对路径) 附件 : --> 2018-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

19. 执行回调函数时报is not a function [ 78%]

执行回调函数时报is not a function 解压缩laya_game.rar,双击打开laya_game\hgameStarter\bin\h5目录下的index.html,待浏览器打开后,打开开发者工具查看:    Main.as里把getRolesBack函数作为回调函数传给SocketProxy.as setRoleCall,但是回调回来执...

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

20. js飞机大战报错 请大神看看 [ 77%]

...        this.scoreLabel=null;          this.infoLabel=null; GameInfo.js: var GameInfo = (function (_super) {     function GameInfo() {         GameInfo.super(this);         // this.infoLabel.text = "abc"; 这个也报异常应该是找不到infoLabel         // 注册按...

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