当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
Sakura マップ名表示をちょっといい感じに - Sakura_MapNameExtend.js
シェア用テキスト:
▼Sakura マップ名表示をちょっといい感じに(Sakurano様作) - Sakura_MapNameExtend.js
https://plugin-mz.fungamemake.com/archives/7354
マップ名表示をちょっといい感じにします。
ふりがな:まっぷめいひょうじをちょっといいかんじに
機能概要: マップ名表示をちょっといい感じにします。
利用規約(ライセンス): MITライセンス
作者:Sakurano
作者サイト:https://x.com/minnon6130
解説ページ:https://github.com/Sakurano6130/SakuraPlugins/blob/main…
ファイル名:Sakura_MapNameExtend.js
プラグインのヘルプ:
*: * @target MZ * @plugindesc マップ名表示をちょっといい感じにします。 * @author Sakurano * @url https://github.com/Sakurano6130/SakuraPlugins/ * @help * マップ名表示をちょっといい感じにします。 * * ------------------------------------------------- * Sakura_MapNameExtend * Copyright (c) 2024 Sakurano * This software is released under the MIT license. * http://opensource.org/licenses/mit-license.php * ------------------------------------------------- * 2024/09/09 1.0.3 ツクールのシステム設定で、画面の幅・高さとUIエリアの幅・高さが * 異なる設定をしている場合の位置を調整。 * 2024/09/07 1.0.2 メニューなどから戻ってきた場合に再表示されていたため修正 * 2024/09/04 1.0.1 1行しかなかった場合の表示を若干修正 * 2024/09/03 1.0.0 公開 * ------------------------------------------------- * * 主な機能: * - マップ名表示をちょっといい感じにします。 * - マップ設定の表示名を|(半角)で区切ると、メイン行とサブ行の2行に分けて * 表示されます。 * * 独自のフォントを使用したい場合: * 1. プロジェクトフォルダ直下のfontsフォルダに、使用したいフォントの * .ttfファイルを入れます。 * 2. プラグインの設定のパラメータで、使用したいフォント名を指定します。 * (.ttfまで含めたファイル名を指定します。) * * 使用方法: * 1. マップ設定の表示名を|(半角)で区切ると、メイン行とサブ行の2行に分けて表示されます。 * 例)首都リディアス・中央通り|Central Avenue of Lydiaus, the Capital * |を入れなければ1行で表示されます。 * * @param mapNamePosition * @text マップ表示の位置 * @desc マップ表示を表示する位置(中央、左上、右上、左下、右下から選択) * @type select * @option 中央 * @value center * @option 左上 * @value topLeft * @option 右上 * @value topRight * @option 左下 * @value bottomLeft * @option 右下 * @value bottomRight * @default center * * @param mapNameTextX * @text マップ表示X座標 * @desc マップ表示の表示位置(X座標) * @type number * @min -9999 * @max 9999 * @default 0 * * @param mapNameTextY * @text マップ表示Y座標 * @desc マップ表示の表示位置(Y座標) * @type number * @min -9999 * @max 9999 * @default 0 * * @param fontFile * @desc 使用するフォントのファイル名 * @text 使用するフォントのファイル名 * @type string * @default * * @param mainFontSize * @text メインのフォントサイズ * @desc メインのフォントサイズ * @type number * @min 10 * @max 50 * @default 30 * * @param mainFontColor * @text メインのフォント色 * @desc メインのフォント色 * @type color * @default 6 * * @param subFontSize * @text サブのフォントサイズ * @desc サブのフォントサイズ * @type number * @min 10 * @max 50 * @default 16 * * @param subFontColor * @text サブのフォント色 * @desc サブのフォント色 * @type color * @default 0 * * @param fadeDuration * @text フェードイン・フェードアウトの時間 * @desc フェードイン・フェードアウトの時間 * @type number * @min 10 * @max 360 * @default 60 * * @param holdDuration * @text 表示が制止する時間 * @desc 表示が制止する時間 * @type number * @min 10 * @max 360 * @default 180 * * @param moveDistance * @text フェードイン/アウト時の移動距離 * @desc フェードイン/アウト時の移動距離 * @type number * @min 0 * @max 120 * @default 30 * * @param needsOutputMaps * @text マップ表示名一覧データを書き出すかどうか * @desc これをtrueにして、テストプレイを実行するとプロジェクトフォルダ直下に「mapsData.txt」というファイルが出力されます * @type boolean * @default false * */