キャラクターモーションのプリセット(Ver.2.0.2)
Posted: 2023年10月25日(水) 23:58
あらかじめモーションを準備しておき、名前で呼び出します。
モーション作成プラグインと組み合わせて使用して下さい。
サンプル動画(Twitter)
ダウンロード
AWY_MotionPresetter.js Ver.2.0.2
MITライセンス
使い方
パラメータで指定したコモンイベントにプラグインコマンドと移動ルートを配置し、
モーションのプリセットを作成します。
モーションの作成方法はAWY_MotionMakerと全く同じです。
作成したモーションはプラグインコマンドやスクリプトで呼び出せます。
【スクリプト(移動ルートの設定)】
this.callMotion("name");
this.callMotion("name", wait);
this.callMotion("name", wait, loop);
this.callMotion("name", wait, loop, speed); //モーションを呼び出します。
this.waitForMotion(); //モーションが終わるまで待ちます。
【スクリプト(イベント)】
this.character(キャラクターID).motionName() //各キャラクター
$gamePlayer.motionName() //プレイヤー
//現在のモーション名を取得。
仕様
動作にはAWY_MotionMakerが必要です。
モーション作成プラグインと組み合わせて使用して下さい。
サンプル動画(Twitter)
ダウンロード
AWY_MotionPresetter.js Ver.2.0.2
MITライセンス
使い方
パラメータで指定したコモンイベントにプラグインコマンドと移動ルートを配置し、
モーションのプリセットを作成します。
モーションの作成方法はAWY_MotionMakerと全く同じです。
作成したモーションはプラグインコマンドやスクリプトで呼び出せます。
【スクリプト(移動ルートの設定)】
this.callMotion("name");
this.callMotion("name", wait);
this.callMotion("name", wait, loop);
this.callMotion("name", wait, loop, speed); //モーションを呼び出します。
this.waitForMotion(); //モーションが終わるまで待ちます。
【スクリプト(イベント)】
this.character(キャラクターID).motionName() //各キャラクター
$gamePlayer.motionName() //プレイヤー
//現在のモーション名を取得。
仕様
動作にはAWY_MotionMakerが必要です。