大约有 186 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
Laya_社区(175) Laya2.0_文档(4) Laya3.0_文档(2) laya_api(1) Laya_示例(1) Laya3.0_api(1) Laya2.0_示例(1) Laya2.0_api(1)
...件是.ogg格式的(没测试过安卓),我用的 Laya.SoundManager.playSound(path); 这个api 2018-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_XS 赞同来自: yy308126214 ogg格式的音频...
来源: Laya_社区 发布时间: 20180330
...h; musicButton.y = soundButton.y; soundButton.on(Event.CLICK, this, this.onPlaySound); musicButton.on(Event.CLICK, this, this.onPlayMusic); } createButton(labelText) { let w = 110, h = 40; const Sprite = Laya.Sprite; let btn = new Sprite(); Laya.stage.addChild(btn); btn.size(w, h); btn.graphics.draw...
来源: Laya2.0_示例 发布时间: 20251130
...n.y; Laya.stage.addChild(musicButton); soundButton.on(Event.CLICK, this, onPlaySound); musicButton.on(Event.CLICK, this, onPlayMusic); } function createButton(label) { var w = 110; var h = 40; var button = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graph...
来源: Laya_示例 发布时间: 20251130
...或静音状态下播放背景音乐无效的解决方案 SoundManager.playSound=function(url,loops,complete,soundClass,startTime){ (loops===void 0)&& (loops=1); (startTime===void 0)&& (startTime=0); if(!url) return null; SoundManager._recoverWebAudio(); url=URL.formatURL(url); if ...
来源: Laya_社区 发布时间: 20181019
...被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recoverWebAudio(...
来源: Laya_社区 发布时间: 20190115
...则永远无声! 个人解决办法如下,对引擎代码 SoundManager.playSound 方法做了修改,多则删减,少则补足,请官方酌情修复此bug!SoundManager.playSound=function(url,loops,complete,soundClass,startTime){ (loops===void 0)&& (loops=1); (startTime===void 0)&a...
来源: Laya_社区 发布时间: 20180709
...之前的背景音乐,再播发当前的背景音乐。 SoundManager playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel[static] 播放音效。音效可以同时播放多个。 SoundManager removeChannel(channel:SoundChan...
来源: Laya2.0_api 发布时间: 20190513
...之前的背景音乐,再播发当前的背景音乐。 SoundManager playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel[static] 播放音效。音效可以同时播放多个。 SoundManager removeChannel(channel:SoundChan...
来源: laya_api 发布时间: 20170929
SoundManager 如何获取声音开始播放 1: SoundManager.playSound好像会延时; 2:加载完了,播放也会延时, 3:想流式播放声音,判断声音开始播放,然后再同步播放相对应的内容 2017-06-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20170630
...正确,且旋转屏幕时显示错位 ios中没有触发事件前使用playSound没有声音 问题状态 最新活动: 2019-05-27 10:49 浏览: 838 关注: 1 人
来源: Laya_社区 发布时间: 20190527