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

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

101. 微信小游戏使用截图分享使用Canvas.toTempFilePath(Object object)分享出去的是空白图 [ 57%]

....getCanvas(); canvas.toTempFilePath({ x: 0, y: 0, width: 500, height: 400, success: function (res) { wx.shareAppMessage({ imageUrl:res.tempFilePath }) } }); htmlC.destroy(); 2019-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

102. 为什么微信小游戏添加托管数据代码wx.setUserCloudStorage就报错? [ 57%]

... __JS__("wx.setUserCloudStorage({KVDataList:[{key:'score',value:_score}],success:function(res:Object):void{trace('setUserCloudStorage');}})"); 把这句代码去掉就没事,只要一添加,微信开发工具就报错。如上图所示。 哪位大哥知道,指点指点,谢谢。 附件 : --...

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

103. Laya发布头条小游戏,IOS出现lani文件无法加载的问题 [ 57%]

...时候加载lani出错,出现thirdScriptError undefined;at api readFile success callback function undefined 并且确认是加载ls场景文件,里面人物动画的lani文件出现的错误,当我删掉动作文件的时候场景正常加载。 可直接使用U3D中任意一个FBX的动画文...

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

104. 教你微信小游戏使用服务端gzip数据。 [ 56%]

... wx.request({   url: '请求地址',   responseType: 'arraybuffer',    success(res) {     console.log(fromCharCode(Pako.inflate(new Uint8Array(res.data))));   } }); //处理中文 function decodeUTF8(arr,toType)  { //转为utf8编码字符串   let  str  =  '';       for  (var  i ...

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

105. 微信小程序调试器运行正常,真机调试报错 [ 56%]

...试报错 VM128:1 gameThirdScriptError self is not defined;at api request success callback function ReferenceError: self is not defined at new s (game.js:6:16022) at  (../../src/script/GameUI.js:10:1) at  (../../src/script/GameUI.js:10:1) at  (../../src/script/GameUI.js:10:1) at at (game.js:6:170...

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

106. 微信头像请求方式 [ 56%]

...irdScriptErrorLaya.Browser.window.Blob is not a constructor;at api request success callback function TypeError: Laya.Browser.window.Blob is not a constructor   2019-10-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 不明生物! ...

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

107. dialog的popup方法不会关闭其他弹窗 [ 56%]

...xt = text; this.btn_close.on(Laya.Event.CLICK, this, this.close); this.btn_success.on(Laya.Event.CLICK, this, this.close); } } 2018-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 AerTims 赞同来自: Laya.s...

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

108. gameThirdScriptError ccs.armatureDataManager.addArmatureFileInfo报错 [ 56%]

...3 gameThirdScriptError a.querySelectorAll is not a function;at api request success callback function TypeError: a.querySelectorAll is not a function     at Object.addDataFromCache (http://127.0.0.1:64203/game/game.min.js:2506:9)     at Object.addDataFromXML (http://127.0.0.1:64203/game/game.min....

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

109. 3d场景下载出错 [ 56%]

...riptError Cannot read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined     at t.<anonymous> (https://usr/game.js:49:8301)     at e.n._parse (https://usr/game.js:66:1995)     at Function.t._createNo...

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

110. 将3D模型从对象池中重复利用后,挂载的PhysicsCollider组件会失效 [ 56%]

...跟着调整位置?? 通过射线检测发现,检测了到owner,而successed却是false

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