当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
Sakura 次の目的をスイッチ名から表示 - Sakura_DestinationBySwitchOn.js
シェア用テキスト:
▼Sakura 次の目的をスイッチ名から表示(Sakurano様作) - Sakura_DestinationBySwitchOn.js
https://plugin-mz.fungamemake.com/archives/7350
スイッチオンで次の目的を表示表示します。
ふりがな:つぎのもくてきをすいっちめいからひょうじ
機能概要: スイッチオンで次の目的を表示表示します。
利用規約(ライセンス): MITライセンス
作者:Sakurano
作者サイト:https://x.com/minnon6130
解説ページ:https://github.com/Sakurano6130/SakuraPlugins/blob/main…
ファイル名:Sakura_DestinationBySwitchOn.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/04 1.0.2 ファイル出力判定ミス修正 * 2024/09/03 1.0.1 初期表示時に後ろのウィンドウを隠さないように修正 * 2024/09/03 1.0.0 公開 * 2024/09/03 0.5.0 だいたい形に * 2024/09/02 0.0.1 作成 * ------------------------------------------------- * * スイッチ名が$で始まる名前のものをオンにしたとき、 * 自動的に次の目的を表示します。 * * 使用方法: * プラグインコマンドを使って目的を設定してください。 * * プラグインコマンド: * HideDestinationText * 表示されている目的テキストを隠します。 * * ShowDestinationText * 隠していた目的テキストを表示します。 * * * @command HideDestinationText * @text 目的テキストを隠す * @desc 表示されている目的テキストを隠します。 * * @command ShowDestinationText * @text 目的テキストを表示する * @desc 隠していた目的テキストを表示します。 * * @param destinationPosition * @text 目的テキストの位置 * @desc 目的テキストを表示する位置(左上、右上、左下、右下から選択) * @type select * @option 左上 * @value topLeft * @option 右上 * @value topRight * @option 左下 * @value bottomLeft * @option 右下 * @value bottomRight * @default topLeft * * @param destinationTextX * @text 目的テキストX座標 * @desc 目的テキストの表示位置(X座標) * @default 40 * * @param destinationTextY * @text 目的テキストY座標 * @desc 目的テキストの表示位置(Y座標) * @default 0 * * @param fontSize * @text フォントサイズ * @desc 目的テキストのフォントサイズ * @type number * @min 10 * @max 40 * @default 16 * * @param storyProgressText * @text ストーリーが進行したときに表示するテキスト * @desc ストーリーが進行したときに表示するテキストです。何も指定しないと、この表示はされなくなります。 * @type string * @default 💡ストーリーがすすんだ * * @param storyProgressTextColor * @text ストーリーが進行したときに表示するテキストの色 * @desc ストーリーが進行したときに表示するテキストの色です。 * @type color * @default 0 * * @param needsOutputDestinations * @text 目的を書き出すかどうか * @desc これをtrueにして、テストプレイを実行するとプロジェクトフォルダ直下に「destinationsBySwitch.txt」というファイルが出力されます * @type boolean * @default false * */