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

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

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

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

32. 为了降低drawcall,升级了2.2版本,微信发布后报错 [ 86%]

...信开发者工具也不报错,发布体验版或预览调试报错   gameThirdScriptError Cannot read property '_geometry' of undefined;at requestAnimationFrame callback function TypeError: Cannot read property '_geometry' of undefined at SubMeshDynamicBatch._render (game.js:1360...

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

33. 真机调试 开启子域后 提示出现window is not defined [ 86%]

...回来。 2018-12-20 0 3 分享 微博 QZONE 微信 朝俊 赞同来自: game.js 入口文件里  require("/js/laya/weapp-adapter.js");要放在第一处 2018-12-27 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 徐飞 相关问题 TS...

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

34. 我照的列子做,Protobuf,结果报错! [ 85%]

...s code: ============================================================ class Game{    private ProtoBuf:any = Browser.window.dcodeIO.ProtoBuf;     ... }     err code: ============================================================ TypeError: Cannot read property 'ProtoBuf' of undefined at new Game (...

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

35. Animation创建动画模板问题 [ 85%]

... not a function at Function.URL.formatURL (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:4418:12) at Function.Loader.getRes (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya.core.js:11178:32) at Graphics.__proto.loadImage (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/libs/laya...

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

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

...,加载字体失败 错误信息提示,简单demo见附件:(unknown) gameThirdScriptError xml.getElementsByTagName is 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....

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

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

...: 删除 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

38. 微信小游戏的位图字体加载报错! [ 84%]

...,希望能重视起来,给大家一个完整清晰的解决方法! gameThirdScriptError t.getElementsByTagName is not a function TypeError: t.getElementsByTagName is not a function     at t.e.parseFont (http://127.0.0.1:63921/game/code.js:1:12413)     at e.s.onLoaded (http://127.0.0.1:6392...

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

39. 发布后,可不可以不要覆盖game.json啊 [ 84%]

发布后,可不可以不要覆盖game.json啊 每次都覆盖我辛辛苦苦写的game.json,好累的啊 2019-06-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 gamedaybyday2 赞同来自: game.json的修...

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

40. 导入微信小游戏的时候 [ 84%]

导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load ...

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