Re: ゲームパッドコンフィグプラグイン
Posted: 2018年9月28日(金) 04:54
修正版をアップしました。
多分、これで動くと思います。
※修正を本体に反映したのでファイルを削除
多分、これで動くと思います。
※修正を本体に反映したのでファイルを削除
しぐれん さんが書きました:関数を改造して、後ろのコマンドを生成するmakeCommandList()という関数が増えています。
(Window_GamepadConfigMA内)
ここの配列を並び替えれば可能です。
コード: 全て選択
makeCommandList() {
const default_ = createCommand(setting.commandText.default_,'default');
const apply = createCommand(setting.commandText.apply,'apply');
const exit = createCommand(setting.commandText.exit,'exit');
this._command =[
default_,
apply,
exit
];
this._applyCommand = apply;
this._exitCommand = exit;
this._exitCommandIndex = this._list.length + this._command.indexOf(exit);
}
コード: 全て選択
if (Imported.Mano_InputConfig) {
show = !Utils.isMobileDevice();
} else {
show = false;
}
コード: 全て選択
this.playOkSound();
SceneManager.push(MA_GAMEPAD_CONFIG);
コード: 全て選択
this.playOkSound();
SceneManager.push(Scene_GamepadConfigMA);