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

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

81. 微信小游戏图集接口sendAtlasToOpenDataContext报错。 [ 60%]

...错。报错为:VM1049:1 gameThirdScriptError undefined;at api request success callback function undefined Charles • 2018-09-03 09:54 而且我看sendAtlasToOpenDataContext这个方法并没有处理纹理的程序在啊,只有处理json或者atlas的程序。

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

82. 关于laya无法缓存非图片、声音文件bug [ 60%]

...stObj = {}; } MiniFileMgr.fs.readdir({ dirPath: MiniFileMgr.fileNativeDir, success: function (data) { var tempMd5ListObj = {}; var fileObj; for (let key in MiniFileMgr.filesListObj) { if (key != "fileUsedSize") { fileObj = MiniFileMgr.filesListObj[key]; tempMd5ListObj[fileObj.md5] = true; } } var fi...

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

83. laya发布微信的问题 [ 60%]

...候。运行就gameThirdScriptError CANNON is not defined;at api readFile success callback function ReferenceError: CANNON is not defined 官方大大能不能帮忙看看原因啊,谢谢了,很急 2018-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

84. 编译微信小游戏报错。高手快进来看呀。 [ 60%]

...meThirdScriptError Unexpected number in JSON at position 1;at api readFile success callback function SyntaxError: Unexpected number in JSON at position 1 2018-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 L...

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

85. 如何调用微信小游戏API [ 60%]

...戏API 比如调用接口发起授权,原生是这样写: wx.login({ success: function () { wx.getUserInfo() } }) Laya引擎中没有wx这个变量怎么写?难道取window.wx? 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

86. 微信小游戏 不支持位图字体吗? [ 59%]

...体吗? 报错 WAGame.js:3 gameThirdScriptError undefined;at api readFile success callback function undefined 2018-02-02 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: 是支持位图字体的 20...

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

87. wx.canvasToTempFilePath在TS下如何使用啊? [ 59%]

...: 100, height: 100, destWidth: 100, destHeight: 100, canvasId: 'myCanvas', success: function (res) { wxd.shareUrl = res.tempFilePath wxd.ShareAppMessage() console.log(res.tempFilePath) } }) 一直报错[ts] The 'this' context of type 'typeof wx' is not assignable to method's 'this' of type 'string'....

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

88. 2.3.0截屏问题 [ 59%]

...eight: 50, destWidth: 100, destHeight: 100, fileType: "png", quality: 1.0, success: (res) => { console.log(res.tempFilePath); } }) }   报的是 gameThirdScriptError ImageData is not defined ReferenceError: ImageData is not defined     at Function.RunDriver.drawToCanvas (http://127.0.0.1:27664...

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

89. LAYABOX游戏实时语音之APP版本 [ 59%]

...用户: " + userId + " 登录成功"); if (errcode == YIMService.Errorcode.Success){ ExportJavaFunction.CallBackToJS (that, "login", "用户: " + userId + " 登录成功"); }else{ ExportJavaFunction.CallBackToJS (that, "login", "用户: " + userId + " 登录失败:"+errcode); } } /** * 登出回调 ...

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

90. 用微信的方法获取openID和会话秘钥的方法 [ 59%]

...secret="+secret+"&js_code="+code+"&grant_type=authorization_code", success:function(res) { console.log("获取到openid为"+res.data.openid) } }) 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...

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