LoginSignup
7
7

More than 5 years have passed since last update.

複数のTweenを組み合わせる

Posted at

サンプル

Tweenコンストラクタ

Tween (target,Properties)

propertiesの種類

引数 内容
loop ループ処理
useTicks 実行の長さをTick数にするかどうか
ifnoreGlobalPause Tween.ifnoreGlobalPauseプロパティを決める
override 他のtweenを削除
paused はじめにtweenを一時停止しておくか決める
position 再生開始位置を決める

動きを変える

Tween.wait(待ち時間)

まとめて書く

Tween.get(target, {loop: true})
     .to({y:nHeight-40, rotation:360}, 1000, Ease.bounceOut)
     .wait(1000)
     .to({alpha:0}, 1000, Ease.circIn)
     .call(setAppearance);
7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7