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

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

191. [LayaAir3]Laya3.2.2版Spine 3.8开启fastRender播放完渲染会卡在第一帧 [ 50%]

...FastRender就会复现,当然我也有把最新github上修正spine动画stop状态错误的问题,重新编译了 https://github.com/layabox/LayaAir/commit/3bca9eed195b2b1b7ef68256ed3c9332615b8309​ 开启FastRender下在编辑器预览 禁用FastRender下在编辑器预览   附件 : --> 202...

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

192. laya.media.SoundNode [ 49%]

...动更新缓存,只能通过调用reCache方法手动刷新。Sprite  stopEvent : String[write-only] 设置触发停止的事件 SoundNode  target : Sprite[write-only] 设置控制播放的对象 SoundNode texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他...

来源: laya_api 发布时间: 20170422

193. [分享]微信小游戏声音资源批量加载卡住,临时解决方案 [ 49%]

...,增加函数           __proto.resetPlay=function(){ this._sound.stop(); this._sound.volume = 1; this._sound.offPlay(); }          2 在MiniSound类的onDownLoadCallBack函数中,this._sound.onError(MiniSound.bindToThis(this.onError,this));          这一句的后面,增加如...

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

194. 内置骨骼动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void { this.play(); } //播放骨骼动画 private play(): void { //每次到下一个动画 this.mCurrIndex++; if (this.mCurrIndex >= thi...

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

195. 背景音乐播放BUG,销毁异常导致的播放异常,里面有修改方案 [ 49%]

...没必要销毁): SoundManager.playMusic方法中_bgMusic移到channel.stop下面。 SoundManager.disposeSoundLater方法开头if(url == SoundManager._bgMusic) return; 2.存背景音乐的_audioCache的key和其他的集合中的背景音乐用同一个key,改变内容前做对象清理,改...

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

196. 音乐与音效的播放与控制(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 49%]

...出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示例的完整代码地址为:[https...

来源: Laya2.0_文档 发布时间: 20210715

197. 音乐与音效的播放与控制(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 49%]

...出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示例的完整代码地址为:[https...

来源: Laya2.0_文档 发布时间: 20210714

198. 音乐与音效的播放与控制(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 48%]

...发者有两种方式,来避免。 一种是在入口文件中,将autoStopMusic设置为false。 ```typescript …… //失去焦点后是否自动停止背景音乐。false不自动停止,一直播。true是自动停止 Laya.SoundManager.autoStopMusic = false; …… ``` 如果不设置这个...

来源: Laya2.0_文档 发布时间: 20210715

199. ios版layanativ引用了uiwebview的方法,导致了ITMS-90809: Deprecated API Usage警告 [ 47%]

...了。 提示了以下错误 ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/do ... bview for more information。   希望官方尽快修复,不然之后就无法上架了 2019-09-10 添加评论 免费帖 ...

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

200. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 47%]

....stage.height / 2; ufo.play("ludo_ufo_kaishi", false); ufo.once(Laya.Event.STOPPED, this, () => { ufo.play("ludo_ufo_feixing", true); }); ufo.on(Laya.Event.LABEL, this, (e) => { if (e.name == "xiaoshi") { ufo.offAllCaller(this); // ufo.removeSelf();   } });  })); }  genSpine(url, handler: L...

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