|
在我们释放技能时候,很多时候,有一句玩笑话:我的子弹会转弯~~
当然,会转弯的子弹效果来了:
在更新事件中,我们可以任意通过进度来改变当前特效的跟踪对象的新坐标~
缓动参数 冒号后面为参数 更多参考库常量值
- Power0 : Linear
- Power1 : Quadratic.Out
- Power2 : Cubic.Out
- Power3 : Quartic.Out
- Power4 : Quintic.Out
- Linear
- Quad : Quadratic.Out
- Cubic : Cubic.Out
- Quart : Quartic.Out
- Quint : Quintic.Out
- Sine : Sine.Out
- Expo : Expo.Out
- Circ : Circular.Out
- Elastic : Elastic.Out
- Back : Back.Out
- Bounce : Bounce.Out
- Stepped
- Quad.easeIn
- Cubic.easeIn
- Quart.easeIn
- Quint.easeIn
- Sine.easeIn
- Expo.easeIn
- Circ.easeIn
- Back.easeIn
- Bounce.easeIn
- Quad.easeOut
- Cubic.easeOut
- Quart.easeOut
- Quint.easeOut
- Sine.easeOut
- Expo.easeOut
- Circ.easeOut
- Back.easeOut
- Bounce.easeOut
- Quad.easeInOut
- Cubic.easeInOut
- Quart.easeInOut
- Quint.easeInOut
- Sine.easeInOut
- Expo.easeInOut
- Circ.easeInOut
- Back.easeInOut
- Bounce.easeInOut
复制代码
|
|