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

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

131. new Laya.Templet() 时,说这不是一个constructor [ 72%]

....0的“技术文档 → 动画进阶 → 示例代码”是这样写的!this.templet = new Laya.Templet();  2018-12-12 0 1 分享 微博 QZONE 微信 180*****237 赞同来自: 碰到同样问题了,我用的是LayaAir2.0。也是说: TypeError: Laya.Templet is not a constructor   能有详...

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

132. 动画加载完成的监听是怎样写? [ 72%]

...成的监听是怎样写? let fly = Laya.Pool.getItemByCreateFun("fly", this.fly, this); owner.addChild(fly); fly.play(0, true, "ani1");   fly() { let ani = new Laya.Animation(); ani.loadAnimation("plaen4.ani"); return ani; }   这样写是可以正常播放,但是会有这个警告 ani not fo...

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

133. LayaAir2.0 beta3 对骨骼动画应用发光滤镜的问题 [ 72%]

...发光滤镜,并没有一直new SpineMgr.inst.loadSpine(['spine/yasuo'], this, ()=>{ this._spine = SpineMgr.inst.createSpine('spine/yasuo.sk', 0); // this._spine.showSkinByIndex(1); this._spine.play('yidonggongji', true); this.testSkePos.addChild(this._spine); //创建一个发光滤镜 var fil...

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

134. 如何直播放对象自身的时间轴动画? [ 72%]

...个prefab是带时间轴动画的,绑定了脚本,实例化出来后 this.owner如何播放动画啊?   var prefabInstantce=this.owner as Laya.Animation;   prefabInstantce.play("aniRota")   我就是想直接播放自身的动画而已 2019-06-16 添加评论 免费帖 --> 分享 微博 QZO...

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

135. 如何通过名字 或 索引播放 spine 动画 [ 72%]

...d("spine/feiyangyang_2.sk"); // skeleton.play(0,true);//播放不了别的 this.owner.addChild(skeleton); skeleton.pos(500,500);   哪里写的有问题 大佬看看 2019-06-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

136. 图集动画播放问题 [ 72%]

图集动画播放问题 this.ded.play(0, false); this.ded.on(Laya.Event.COMPLETE, this, this.onHitOver);  播放完 "ded" 动画后, 有时候会出现延迟,没有立即运行onHitOver()方法,有什么解决办法吗? 2018-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

137. 1.7.8新版本3d骨骼动画如何获取绑点呢 [ 72%]

...x 赋值 var nodeMap = animator._avatarNodeMap; for(var attachPointName in this.m_AttachPointNodeMap){ var node = this.m_AttachPointNodeMap[attachPointName]; var srcNode = nodeMap[attachPointName]; node.transform.localMatrix = srcNode.transform().localMatrix; } zfree • 2017-08-21 17:55 我这边...

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

138. 2D角色动画 [ 71%]

...关的链接 提交 2 个回复 laya21126 赞同来自: bodyAni.loadAtlas(this.bodyPath).loadAtlas(weaponPath).loadAtlas(wingPath).play(0, true, bodyPath);  这种显示不完整,只有一个部件显示了 还用这种方法没看明白,是这样用的吗? 2017-09-09 0 0 分享 微博 QZONE ...

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

139. 一个没有动作的骨骼动画 替换插图没有用 [ 71%]

...动作的骨骼动画 替换插图没有用     sp(){         this.skebqb = new Laya.Skeleton(SkeTemp.tempbqb, 1);         this.skebqb.play(4, false);         this.skebqb.on(Laya.Event.STOPPED,this,this.changeSkin);         this.owner.addChild(this.skebqb); ...

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

140. 人物行走图动画 [ 71%]

... = true):void 加载资源。 Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS);   这里的load只有三个参数,而事实上用到4个,不清楚。。。   还有ani.index = 1;我改成0,-1,2,可是在经过play后面自动变成1,还有经...

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