//============================================================================= // SceneSoundTest.js // ---------------------------------------------------------------------------- // (C)2016 Triacontane // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // ---------------------------------------------------------------------------- // Version // 2.1.0 2022/02/14 ヘルプウィンドウの表示内容を改行できるよう修正 // バー表示の上の曲名表記がファイル名になっていた問題を修正 // 2.0.0 2022/02/11 MZ用に新規で作り直し // 1.0.0 2016/01/29 初版 // ---------------------------------------------------------------------------- // [Blog] : https://triacontane.blogspot.jp/ // [Twitter]: https://twitter.com/triacontane/ // [GitHub] : https://github.com/triacontane/ //============================================================================= /*: * @plugindesc サウンドテストプラグイン * @target MZ * @url https://github.com/triacontane/RPGMakerMV/tree/mz_master/SceneSoundTest.js * @base PluginCommonBase * @orderAfter PluginCommonBase * @author トリアコンタン * * @param categoryList * @text カテゴリリスト * @desc オーディオカテゴリの一覧です。登録件数を1件だけにするとカテゴリウィンドウは非表示になります。 * @default [] * @type struct[] * * @param categoryCols * @text カテゴリ列数 * @desc カテゴリウィンドウの列数です。 * @default 4 * @type number * * @param description * @text 説明 * @desc カテゴリウィンドウを選択中にヘルプウィンドウに表示される説明です。 * @default * @type multiline_string * * @param commandName * @text コマンド名称 * @desc タイトルやメニュー画面に表示されるコマンド名です。 * @default サウンドテスト * * @param titleAdd * @text タイトルに追加 * @desc タイトル画面にサウンドテストを追加します。無効にした場合もコマンドで後から有効にできます。全セーブデータ共通 * @default true * @type boolean * * @param menuAddSwitch * @text メニュー追加スイッチ * @desc 指定した番号のスイッチがONのとき、メニュー画面にサウンドテストが追加されます。0にすると最初から追加されます。 * @default 0 * @type switch * * @param listWidth * @text リスト横幅 * @desc 楽曲リストウィンドウの横幅です。 * @default 320 * @type number * * @param volume * @text 音量名称 * @desc BGMの設定項目「音量」のゲーム内での名称です。 * @default Volume * * @param pitch * @text ピッチ名称 * @desc BGMの設定項目「ピッチ」のゲーム内での名称です。 * @default Pitch * * @param pan * @text 位相名称 * @desc BGMの設定項目「位相」のゲーム内での名称です。 * @default Pan * * @param backImage * @text 背景画像 * @desc サウンドテストの背景に表示する画像を選択します。 * @default * @dir img/parallaxes * @type file * * @param autoRegister * @text 自動登録 * @desc ゲーム中に演奏されたオーディオを自動登録します。 * @default true * @type boolean * * @param unregisteredText * @text 未登録テキスト * @desc 未登録で演奏できない項目に代わりに表示するテキストです。 * @default ??? * * @command OPEN * @text サウンドテスト画面を開く * @desc サウンドテスト画面を開きます。 * * @command ENABLE * @text 有効化 * @desc タイトル画面でサウンドテストの項目を有効化します。 * * @help SceneSoundTest.js * * ゲーム中のオーディオを視聴できるサウンドテスト画面を実装します。 * タイトル画面、メニュー画面およびプラグインコマンドから専用画面に遷移します。 * 楽曲はパラメータで指定した条件を満たすと演奏可能になります。 * 一度演奏可能になった楽曲を元に戻すことはできません。 * * ボリュームやピッチを変更したいときは、リスト内でPageDownボタンを押下します。 * * このプラグインの利用にはベースプラグイン『PluginCommonBase.js』が必要です。 * 『PluginCommonBase.js』は、RPGツクールMZのインストールフォルダ配下の * 以下のフォルダに格納されています。 * dlc/BasicResources/plugins/official * * 利用規約: * 作者に無断で改変、再配布が可能で、利用形態(商用、18禁利用等) * についても制限はありません。 * このプラグインはもうあなたのものです。 */ /*~struct~CATEGORY: * * @param name * @text カテゴリ名称 * @desc カテゴリウィンドウに表示されるカテゴリ名称です。 * @default * * @param audioList * @text オーディオリスト * @desc リストウィンドウに表示される曲の一覧です。 * @default [] * @type struct