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);