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

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

61. native android mp3不支持吗 [ 61%]

...: 1773 关注: 2 人 林龙 • 2018-05-30 10:21 我现在是0.9.6版本 SoundManager.playSound("sound/jump.mp3", 1, null); Laya_Aaron • 2018-05-30 10:24 建议升级到新版 林龙 • 2018-05-30 10:33 @Laya_Aaron:升级了 音效还是不支持mp3吧? Laya_Aaron • 2018-05-30 10:36...

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

62. 播放音效时报错Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 [ 60%]

...的 好像是后面新加上去的,有这段代码之后我直接用Laya.SoundManager.playSound("res/sound/bullet.mp3");播放子弹声音的时候会报错一次提示我 "Failed to set the 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.",我把这...

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

63. [LayaAir3]【3.3.3】安卓与ios原生在声音播完后错误弹窗 [ 60%]

...来自: 调用音频的方法:其中starttime为0 const channel = Laya.SoundManager.playSound(url, loop ? 0 : 1, null, startTime); 2025-11-27 0 0 分享 微博 QZONE 微信 Fany 赞同来自: native包中我这边也出现过.概率很低.之前我一直以为是我程序报错 2025-11-29 0 0 分...

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

64. 微信小游戏播放音效报错 [ 59%]

微信小游戏播放音效报错 没有预加载,直接播放SoundManager.playSound("h5/assets/sounds/btnClick.mp3");   然后就报下面这个错,但是音效还在播,打到后面几关就会有音效播放不出来了。。downloadFile:fail createDownloadTask:fail invalid url 2018-1...

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

65. air 3d要写个物理系统,help [ 59%]

...系统表现异常BUG (物理组异常) 最新版ide AIR环境 laya.media.SoundManager.playSound 无法播放音效 在文档“IDE篇/使用2d物理系统/物理(二)(平移,旋转,齿轮)/2. 旋转关节介绍”里边,最后一张动图的效果实现不了,已发demo和录屏,望解决...

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

66. 【LIST无法拖动】参照官方实例做的 [ 43%]

..., Laya.stage.width, Laya.stage.height, "#000000");         Laya.SoundManager.playSound("sound/hitbutton.wav");         this.list.removeSelf();         this.list.destroy();      }        } import Box = Laya.Box; import Image = Laya.Image; import Text = La...

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

67. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

..."); owner.getComponent(Laya.RigidBody).setVelocity({ x: 0, y: -10 }); Laya.SoundManager.playSound("resources/sound/hit.wav"); } else { if (owner.parent) { let effect: Laya.Sprite = Laya.Pool.getItemByCreateFun("effect", this.createEffect, this); owner.parent.addChild(effect);//将爆炸动画添加...

来源: Laya3.0_文档 发布时间: 20251010