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

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

51. ui编辑器中使用龙骨动画问题 [ 83%]

...画问题 在UI编辑其中直接拖入一个龙骨动画F12导出,调用this.guge.play(1,true)运行会报错,如果不调用this.guge.play(1,true)方法会执行默认动作,添加上就会报错,见下图 最后各种尝试,折腾好久发现好像是,调用代码调用this。guge。p...

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

52. laya2 物理引擎好多问题 [ 82%]

...? onTriggerEnter(e:Laya.RigidBody):void{  var cil:Laya.CircleCollider=this.owner.getComponent(Laya.CircleCollider); var rig:Laya.RigidBody=this.owner.getComponent(Laya.RigidBody); cil.enabled=false; rig.enabled=false; var self:Laya.Sprite= this.owner as Laya.Sprite; var ni:Laya.Animation=new Laya...

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

53. Uncaught Error: Animation:this playName has exist with another clip. [ 82%]

Uncaught Error: Animation:this playName has exist with another clip. 这是什么bug? 附件 : --> 2019-04-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这不是说动画重名了吗...

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

54. 动画过渡融合(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 82%]

...on3D&name=AnimationLayerBlend))。 ```typescript //正常的动画播放 this.animator.play(this.motions[this.motionIndex], 0); //在当前动画状态和目标动画状态之间进行融合过渡播放 //第三个参数为layerIndex 层索引,没有使用混合模式,仅仅是使用0层的动...

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

55. 动画过渡融合(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 82%]

...on3D&name=AnimationLayerBlend))。 ```typescript //正常的动画播放 this.animator.play(this.motions[this.motionIndex], 0); //在当前动画状态和目标动画状态之间进行融合过渡播放 //第三个参数为layerIndex 层索引,没有使用混合模式,仅仅是使用0层的动...

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

56. 龙骨动画demo [ 82%]

...r = 1; skeleton.load("dragonBones/chicken/chicken.sk", Laya.Handler.create(this, (e) => { console.log(e); let num = skeleton.getAnimNum() let name = skeleton.getAniNameByIndex(num - 1); skeleton.play(name) }));  this.owner.addChild(skeleton); 2019-04-16 添加评论 免费帖 --> 分享 微博 Q...

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

57. l龙骨动画内存上升 [ 82%]

...stage.bgColor = "#ffffff";             Laya.stage.on(Event.CLICK, this, play);         }                  function play():void {             Laya.timer.loop(5000, this, function():void {                 playDragonBonesAnimation("BigAward/BigAward.sk",0...

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

58. layaAir中Animation无法获得宽高,很多逻辑无法判断 [ 82%]

layaAir中Animation无法获得宽高,很多逻辑无法判断 this.animation = new Animation(); this.animation.loadAtlas( _path ); this.animation.interval = _speed; // 设置播放间隔(单位:毫秒) this.animation.play(); this.addChild( this.animation ); this.animation.width 一直为0 ...

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

59. 用Loader加载完atlas,然后使用animation播放问题 [ 82%]

用Loader加载完atlas,然后使用animation播放问题 this._load = new Laya.Loader() this._load.on(Laya.Event.ERROR, this, this.onError); this._load.on(Laya.Event.COMPLETE, this, this.loadComplete); this._load.load(this._data.url, Laya.Loader.ATLAS, true); 加载完成后 this._ani = new Animat...

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

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

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

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