9月
7
7
GoASAP, LinearGoのupdate関数をFixする
Filed under: Actionscript3, GoASAP | Tags: Fix (4), GoASAP (13), LinearGo (6), LinearGoRepeater (7) | 9月 7th, 2008
HydroTween, HydroSequenceでLinearGoRepeaterを使った時のcycle後の最初の値がおかしいのを修正した。
GoASAPのユーザー側コアクラスはLinearGo。
このクラスをextendsして自分なりのクラスを作ってね、というのがGoASAPの考え方のようで、だからgoplaygroundが存在しHydroTweenやGo3Dが生まれたんだナ。
LinearGoのupdateがモーションデータを計算している関数、開始や折返時の条件判定がcycleの時を考慮していないので修正した。
--GoASAP 0.5.1c (c) Moses Gunesch, MIT Licensed.
org.goasap.items.LinearGo
function update
line 736
old:_position = (time==0 ? 0 : _currentEasing.apply(null, _easeParams));
new:_position = _currentEasing.apply(null, _easeParams);
*正式な情報ではありません。
cycle使用時にHydroTween, HydroSequenceがおかしかったのも修正できる。
一歩前進。副作用がでないか少し心配。
HydroTween, HydroSequence repeaterにバグ?のScript1はfixできた。
