大约有 148 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0038 秒)
Laya_社区(128) Laya3.0_文档(5) Laya2.0_文档(4) laya_api(3) Laya3.0_api(3) Laya2.0_api(3) Laya2.0_示例(1) Laya_示例(1)
... cuixueying 赞同来自: Laya.loader.load预加载音乐,加载类型为SOUND即可(Loader.SOUND),调用还是正常调用SoundManager.playMusic即可 2017-09-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq408896436 相关...
来源: Laya_社区 发布时间: 20170928
...ck); } else { if (fileType == Laya.Loader.IMAGE || fileType == Laya.Loader.SOUND) MiniFileMgr.downOtherFiles(fileUrl, callBack, fileUrl, true, false); else MiniFileMgr.downFiles(fileUrl, encoding, callBack, fileUrl, true, fileType, false); } } static copyFile(tempFilePath, readyUrl, callBack, encodi...
来源: Laya_社区 发布时间: 20200103
...二次点 微信警告 Resources already exist,is repeated loading: res/sounds/bgm.mp3 代码写的是 Laya.SoundManager.playSound("res/sounds/bgm.mp3", 1, new Handler(this, function(){ console.log("播放完成"); })); 2018-08-08 0 0 ...
来源: Laya_社区 发布时间: 20180808
...问题 layaair 1.7.7beta Laya.timer.once(800, this, function () { Laya.SoundManager.playSound("sound/readygo.mp3", 1, Laya.Handler.create(this, this.playReadyComp)); }) private playReadyComp (){ Laya.timer.once(800, this, function () { Laya.SoundManager.playMusic('sound/bgm.mp3', 0); }) } 两次...
来源: Laya_社区 发布时间: 20170629
微信浏览器播放背景音乐就白屏咋回事 Laya.SoundManager.playMusic("sounds/BGM_Hall.mp3", 0,); 微信浏览器播放背景音乐就白屏咋回事 2018-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20181130
Laya里怎么让背景音乐无缝循环,2.1.0版本? laya.media.SoundManager.playSound("res/Sounds/bgm.mp3",0); laya.media.SoundManager.playMusic("res/Sounds/bgm.mp3",0);这两种方法播放背景音乐第一次完毕后都会突然没有声音,然后再继续重头播放,感觉很不连...
来源: Laya_社区 发布时间: 20190819
...下,layaair背景音乐被音效顶掉的问题 进入游戏后,使用SoundManager.playMusic("res/sounds/bg.mp3"); 播放背景音乐,能正常播放。 然而游戏进行时播放攻击特效声音,pc端网页模式下背景音乐和特效都OK, 手机模式下(打包手机APP), 背...
来源: Laya_社区 发布时间: 20170109
...加载 this.resUrlArr.push({url:"res/music/1_Pass0.ogg",type:Laya.Loader.SOUND}); this.resUrlArr.push({url:"res/music/1_Pass1.ogg",type:Laya.Loader.SOUND});现在这样写现在pc端没有问题,网页的话加载不了 2017-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20170411
...百度小游戏,playMusic会出现多个背景音乐 问题:调用Laya.SoundManager.playMusic播放不同背景音乐,不会关掉上一个音乐,导致两个背景一起播放,只有安卓会出现,iOS没事 LayaIDE版本:2.5.0 Laya引擎版本:2.2.0 设备:三星S8 系统:安...
来源: Laya_社区 发布时间: 20200616
...响应Laya.Event.FOCUS事件,导致失去焦点后,声音异常 Laya.SoundManager.autoReleaseSound = true Laya.SoundManager.autoStopMusic = true Laya.SoundManager.playSound("sound/bg1.mp3", 0); Laya.stage.on(Laya.Event.FOCUS, null, function(){ console.log("获取焦点") Laya.SoundManager.playSo...
来源: Laya_社区 发布时间: 20180807