このWikiは古くなりました:
新しいWikiへ移動
AnimationAdaptor.loop
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
//METHOD
[[AnimationAdaptor]]に戻る
[[AnimationAdaptor.loop]] - 指定したアニメーションを繰り...
**書式
loop(from,to,spd)
:from| アニメーションの最初のキャラクタパターン
:to| アニメーションの最後のキャラクタパターン
:spd| アニメーション速度( spdフレームにつき1パターン進む ...
**例1
extends SpriteChar;
anim=newAnimation();
anim.loop($Pat_Sample+4,$Pat_Sample+6,3);
wait();
▲ このオブジェクトは、図1のように$Pat_Sample+4から$Pat_Sa...
します。
&ref(bpats4.png);
終了行:
//METHOD
[[AnimationAdaptor]]に戻る
[[AnimationAdaptor.loop]] - 指定したアニメーションを繰り...
**書式
loop(from,to,spd)
:from| アニメーションの最初のキャラクタパターン
:to| アニメーションの最後のキャラクタパターン
:spd| アニメーション速度( spdフレームにつき1パターン進む ...
**例1
extends SpriteChar;
anim=newAnimation();
anim.loop($Pat_Sample+4,$Pat_Sample+6,3);
wait();
▲ このオブジェクトは、図1のように$Pat_Sample+4から$Pat_Sa...
します。
&ref(bpats4.png);
ページ名: