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

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

1. 只播放一次获取回调需要Event.STOPPED [ 100%]

只播放一次获取回调需要Event.STOPPED 只播放一次获取回调需要Event.STOPPED 请问这个应该怎么写?能写全一下吗? 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Apple ...

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

2. untiy导出的粒子特效有播放完成的回掉吗? [ 97%]

...接 提交 3 个回复 183*****755 赞同来自: 开始播放时调度 : Event.PLAYED 暂停播放时调度 : Event.PAUSED 完成一次时调度 : Event.COMPLETE 停止播放时调度 : Event.STOPPED 2017-05-13 0 1 分享 微博 QZONE 微信 183*****755 赞同来自: 现在文档是不全的...

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

3. 分享:销毁龙骨动画! [ 95%]

...ton; import laya.ani.bone.Templet; import laya.display.Sprite; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class ASDemo { private var mAniPath:String; private var mFactory:Templet; private var mCurrIndex:int = 0; private var mArmature:...

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

4. movieClip stop 没有用 [ 91%]

...xueying 赞同来自: package { import laya.ani.swf.MovieClip; import laya.events.Event; public class DragonMaskDemo { public function DragonMaskDemo() { Laya.init(550, 300); swfPlay(); } private function swfPlay():void { var mc:MovieClip=new MovieClip(); mc.load('reset.swf'); mc.on(Event.LOADED,thi...

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

5. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 86%]

...nction() { var Skeleton = Laya.Skeleton; var Templet  = Laya.Templet; var Event    = Laya.Event; var Browser  = Laya.Browser; var Stat     = Laya.Stat; var WebGL    = Laya.WebGL; var Pool     = Laya.Pool;   var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionInd...

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

6. 示例 骨骼动画换装 加不上点击事件 [ 86%]

.../mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(); //Laya.timer.loop(1000, this, cha...

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

7. 龙骨动画的监听回调,有时能回调,有时不能回调 [ 85%]

...c initTemplet(){ this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); // this.mFactory.on(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadAni("res/games/Game_ddz/animation/ddz_figur...

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

8. Animator如何监听播放完毕 [ 84%]

...如何监听播放完毕 版本 2.0.0bate4 , 1.0版本的Animator.on( Laya.Event.COMPLETE ) 方法在2.0.0bate4中行不通 . 那目前如何监听动画播放结束呢 ???? 2018-11-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

9. 3d模型动画播放一次后的回调么用回调。 [ 83%]

...inAni.player.play(0, 1, 0, param.start, param.end); skinAni.player.on(Laya.Event.COMPLETE, null, function(){      console.log("COMPLETE"); }); 2017-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuix...

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

10. 分享一个自己做的游戏公告功能,跑马灯效果 [ 82%]

...5,150) this._createHorn() this._createBg() this._createView() this.on(Laya.Event.UNDISPLAY,this,this.stop) this.on(Laya.Event.DISPLAY,this,this.play) } /** 创建滚动区域 */ _createView() { this.hornBox = new Box() let _rectangle = new Laya.Rectangle(0,0,this.defaultX,55) this.hornBox.scrollRect...

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