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

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

51. 2.1beta骨骼动画重复播放 必抖动 [ 72%]

...是我监听动画完成并且设置不要重复播放 this.mArmature.on(Event.STOPPED, this, this.playStanding); this.mArmature.play("standing",false);//设置为false 不重复播放动画播放完成后在播放一次,依次循环…… 这样就没有抖动了 附件 : --> 2019-05-21 添加评...

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

52. 新手问一个动画的问题 [ 72%]

...;             addChild(views);             views.ani1.on(Event.COMPLETE,this,playStop);             views.ani1.play(); 接着在时间中停止,然后画面就空了,难道不是停到动画的最后一帧吗? views.ani1.stop();             var bt:Sprite  =...

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

53. 龙骨skeleton鼠标点击区域的设置 [ 72%]

...gle=new Rectangle(-420,-680,420,680); mArmature.hitArea=rect; mArmature.on(Event.CLICK,this,onClick);    2016-11-22 0 0 分享 微博 QZONE 微信 asdf131 赞同来自: 于一个点为中心播放 :      this.mArmature = this.mFactory.buildArmature(0);         this.mArmatureSpr.addChild(t...

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

54. 骨骼动画播放完了,回调隐藏,回调在哪里 [ 72%]

...Templet(); mFactory.loadAni("NiuXingTianXia/spine/start2.sk"); mFactory.on(Event.COMPLETE, this, function () { mArmature = mFactory.buildArmature(); mArmature.pos(650, 330); mArmature.play(0, false); this.addChild(mArmature); }); 2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

55. 分享:Skeleton下Event.LABLE('label')事件的使用 [ 71%]

分享:Skeleton下Event.LABLE('label')事件的使用         LayaAir下支持龙骨的自定义事件,即动画制作中为关键帧添加的帧事件,这里不再累述,下面看个例子。 Label事件如何设置?         打开Dragonbones(或spine),选择龙骨动画...

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

56. 分享:如何为spine(龙骨)动画添加CLICK事件! [ 71%]

...是hitArea,如下所示 (function () { var Templet = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var mFactory; var mArmature; (function () { Laya.init(Browser.width, Browser.height, WebGL); startFun(); })(); function startFu...

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

57. spine动画放大后,遮罩显示不正常 [ 71%]

...      const         Templet = Laya.Templet,         Event = Laya.Event;         let mFactory = new Templet();         mFactory.on(Event.COMPLETE, this, this.parseComplete,[parent,mFactory]);         mFactory.on(Event.ERROR, this, this.onError);     ...

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

58. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 71%]

...eTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleto...

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

59. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 70%]

... SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.ske...

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

60. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 70%]

...ageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void { if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } 附件 : --> SpineTestProject.zi...

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