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

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

1. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 100%]

...        Laya.Tween.to(this,{y:Laya.stage.height,alpha:0},200,Laya.Ease.linearIn);              }   import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.c...

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

2. 关于timeline结束的问题 [ 93%]

...0; timeline .addLabel('lightDotted', 0) .to(child, { alpha: 1 }, 200, Ease.linearIn) .to(child, { alpha: 0 }, 200, Ease.linearIn) } } timeline.play(0, true); timeline.on(Event.COMPLETE, this, function () { count++; if (count === 2) { timeline.destroy(); count = 0; } });为什么在结束的时候,...

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

3. Laya.Tween 的属性列表的key 不能是变量? [ 93%]

...aya.Tween.to(guideArrow, { keyV: guideArrow[keyV] + 100 }, 1000, Laya.Ease.linearIn, Laya.Handler.create(this, handMove));  这样写是不行,请问一下想要实现这样的方法, 应该怎么写呢 ? 2018-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

4. 3D模式下使用Tween使模型移动如何写法 [ 88%]

...or3(0,-Math.PI/2,0)); //移动鱼 Laya.Tween.to(fish,{x:-1},3000,Laya.Ease.linearIn,null) 这个Laya.Tween.to(fish,{x:-1},3000,Laya.Ease.linearIn,null)是不是写错了。。。应该怎么写啊。假设我要移动他到x为-1.z为-1 2017-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

5. 扇形的角度没办法通过缓动来设置么?只能通过计时器? [ 69%]

...只能通过计时器? Laya.Tween.to(sp1,{endAngle:180},3000,Laya.Ease.linearIn,null,0); 这个sp1是一个扇形,x,y都可以缓动的,结束的角度 endAngle没办法缓动 2018-06-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

6. Tween.to 中 各种缓动类型 的实现函数的参数分别是什么意思呢? [ 68%]

...    return c *t / d+b;         }              Ease.linearIn=function(t,b,c,d){             return c *t / d+b;         }              Ease.linearInOut=function(t,b,c,d){             return c *t / d+b;         }        ...

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

7. Laya.Tween的ease参数应该提供定义参数 [ 67%]

...该提供定义参数 现在的Laya.Tween中的ease只传递如: Ease.linearIn, Ease.backOut 等。 以 Ease.backOut 为例,  Greensock 的 TweenLite 是通过给 ease 传递 new BackOut(0.8) ,这样,0.8 便可以由用户传递进去,控制BackOut的幅度。 但是 Laya.Tween ...

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

8. 3D模型无法用Tween类吗 [ 66%]

...)); //移动模型 Laya.Tween.to(layaMonkey,{x:0,y:-1,z:-3},5000,Laya.Ease.linearIn); )   我看也没写错 是这个类不适用3D模型吗 2018-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron...

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

9. 3d中 缓动往一个点转向并移动的问题 [ 60%]

...          })             }, speed * 1000, Laya.Ease.linearIn);         } 2018-08-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 186*****260 相关问题 两个对象new了一个相同的对象,调用第...

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

10. 发现TimeLine的一些问题,像是BUG [ 56%]

...umber):void { timeLine=new TimeLine(); timeLine.to(sp, {y: yy}, 3000, Ease.linearIn); timeLine.once(Event.COMPLETE,this, complete,[sp,timeLine]); timeLine.play(0,false); } //清理缓动的函数 private function clearTime(timeLine:TimeLine):void { timeLine.destroy(); } //缓动播放完成后的回...

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