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

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

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

...是Audio在移动端会有手势的限制,gesture-requirement-for-media-playback属性表明必须有用户的手势操作才可以播放。 ​ WebAudio是一种新的声音播放形式,可以加载多个声音进行合成,他是通过二进制文件解码成浏览器支持的格式进行播...

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

42. 龙骨动画残影 [ 77%]

...(0.3, 0.3);         this._hero.on(Laya.Event.STOPPED, this, this._onPlayed);         this._play();                       }     private _play()     {         if (this._curAction >= this._hero.getAnimNum())         {             this._cu...

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

43. 分享 修复webaudiosound 循环播放的声音 俩个失声问题 [ 76%]

...放  暂停后再恢复 没有声音的问题修复 webAudioSoundChannel play方法修改  _proto = Laya.WebAudioSoundChannel.prototype; /** *播放声音 */ _proto.play = function () { // if (this.url.indexOf("music.d") != -1) { // console.log("play", this.url) // console.trace("play", this.url) ...

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

44. laya.display.AnimationPlayerBase [ 76%]

...tationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画播...

来源: laya_api 发布时间: 20170929

45. laya.ani.swf.MovieClip [ 76%]

...lean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放...

来源: laya_api 发布时间: 20170929

46. 使用音频 · LayaAir3.0文档 · LAYABOX [ 76%]

...是Audio在移动端会有手势的限制,gesture-requirement-for-media-playback属性表明必须有用户的手势操作才可以播放。 ​ WebAudio是一种新的声音播放形式,可以加载多个声音进行合成,他是通过二进制文件解码成浏览器支持的格式进行播...

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

47. animate 动画播放 怎么把攻击 开火 合起来播放 [ 76%]

...meBased() { this.roleAni.interval = 100; //循环播放动画 this.roleAni.play(0, false, "atk"); //this.roleAni.play(0,true,"fire"); //this.timeLine.addLabel("turnRight",0).to( this.roleAni.play(0, false, "atk")); } /** * 创建一组动画的url数组(美术资源地址数组) * aniName 动作...

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

48. laya.display.AnimationBase [ 75%]

... AnimationBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可...

来源: Laya2.0_api 发布时间: 20190513

49. laya.ani.swf.MovieClip [ 75%]

...alse[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度...

来源: Laya2.0_api 发布时间: 20190513

50. laya.media.SoundChannel_API3.0 [ 75%]

...ion volume Methods event hasListener off offAll offAllCaller on once pause play resume stop Properties completeHandler completeHandler: Handler Defined in laya/media/SoundChannel.ts:28 播放完成处理器。 isStopped isStopped: boolean = false Defined in laya/media/SoundChannel.ts:24 表示声音...

来源: Laya3.0_api 发布时间: 20231115