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

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

131. drawToCanvas绘制显示不全 [ 76%]

....stage.width, Laya.stage.height, 0, 0);         let str = canvas.toBase64('image/jpeg', 0.9);         this.nativeImg.src = str;         this.nativeImg.style.visibility = 'visible';     } } 2023-03-24 0 0 分享 微博 QZONE 微信 layabox 赞同来自: showall并不是全屏模式,...

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

132. [LayaAir2]Laya2.13.8导出ohos项目不支持armeabi-v7a吗 [ 75%]

...目后,看build-profile.json5文件,armeabi-v7a注释了,只支持arm64-v8a。导致我打包到鸿蒙的折叠虚拟机上会有In the module named entry, the Abi type supported by the device does not match the Abi type configured in the C++ project.报错,应该是因为不支持armeabi-v7...

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

133. TileMap有明显的bug [ 75%]

...像选择Tiled/examples下的isometric_grass_and_water.png;块宽度填64,块高度64。然后就可以点击完成。 3、在图块面板上,刚才的图块应该都显示出来了,选择图块集左上角的第一个,也就是全是草的那个图块,在4x4的地图刷上该图块,16...

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

134. 播放音频问题 [ 75%]

播放音频问题 能直接播放 base64格式的音频么! 引擎是否有方法 吧base64转成mp3! 2018-06-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 音频转换需要第...

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

135. ts加密md5码封装 [ 75%]

...ng) { const length = str.length; const length_of_zero = Math.ceil(length / 64) * 64 - length - 8 - 1; str += String.fromCharCode(0b10000000); const strArray = this.padding(str.split(""), length + 1 + length_of_zero, String.fromCharCode(0)); const tail = this.split(this.padding(this.to_binary(length ...

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

136. 安卓闪退,有日志 [ 75%]

...志 #00 pc 00000000005d1e98 /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (laya::JCFileResManager::getRes(char const*, int, int)+148) [arm64-v8a] 2 #01 pc 00000000005c6cd8 /data/app/com.mylafe.game.handsomecat-1/lib/arm64/liblayaair.so (laya::JCAudioWavPlayer::playAudio(laya::JCAu...

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

137. Google商城无法上架 [ 74%]

...上架 我通过Native打包as包再build出来发Google商城时报错,64位的库包含32位的原生代码 附件 : --> 2019-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 xiaoyu 赞同来自: 在build....

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

138. 构建安卓项目导入遇到的问题 [ 74%]

... #AI-173.4819257, built on June 5, 2018 JRE: 1.8.0_152-release-1024-b02 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 附件 : --> 2018-06-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

139. 调用页面方法的问题 [ 74%]

...vas = htmlC.getCanvas(); 在页面里我写了一个方法 function getBase64(canvas){ var image = canvas.toDataURL("image/png"); return image; } 我用__JS__('getBase64(canvas)') 报错 调用页面js方法时,怎么给它传参数呢?参数不是字符串,是一个canvas对象 2018-06-06 添...

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

140. json的错误怎么解决 [ 73%]

...lolo 赞同来自: 解决了吗?   Unexpected token in JSON at position 64;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 64   我也遇到类似的 2018-11-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...

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