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

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

61. 有没有SoundChannel的示例? [ 70%]

...undChannel = new SoundChannel(); SoundManager.addChannel(channel); _btn.on(Event.CLICK, this, soundClick); function soundClick(evt:Event){ alert("channel.isStoped:"+channel.isStoped); if (channel.isStoped){ channel.play(); }else{ channel.stop(); } } channel.isStoped输出是:undefined 2017-01-16 ...

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

62. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 70%]

...rowser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary {     constructor() {         this.aniPath = "res/powerup-pro.skel";         this.index = -1;         // Laya.ini...

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

63. laya.ani.swf.MovieClip [ 69%]

...l Classes | Index | Frames No Frames MovieClipProperties | Methods | Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Sho...

来源: laya_api 发布时间: 20170929

64. 内置骨骼动画 · LayaAir3.0文档 · LAYABOX [ 69%]

...,调用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 &gt...

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

65. 分享:IDE使用SWF动画的销毁与反复创建 [ 68%]

...:IDE使用SWF动画的销毁与反复创建 package {     import laya.events.Event;     import laya.net.Loader;     import laya.utils.Handler;     import view.TestView;          public class LayaUISample {                  public function LayaUISample() {        ...

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

66. laya.ani.swf.MovieClip [ 68%]

...l Classes | Index | Frames No Frames MovieClipProperties | Methods | Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Sho...

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

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

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

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

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

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

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

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

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

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

70. laya.display.AnimationPlayerBase [ 66%]

...| Index | Frames No Frames AnimationPlayerBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画播放基类,提供了基础的动画...

来源: laya_api 发布时间: 20170929