当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
ツクールフェス風の確認ダイアログ - FesStyleConfirm.js
シェア用テキスト:
▼ツクールフェス風の確認ダイアログ(あわやまたな様作) - FesStyleConfirm.js
https://plugin-mz.fungamemake.com/archives/6451
ツクールフェス風の確認ダイアログを生成します。
ふりがな:つくーるふぇすふうのかくにんだいあろぐ
機能概要: ツクールフェス風の確認ダイアログを生成します。
利用規約(ライセンス): MITライセンス
作者:あわやまたな
作者サイト:https://awaya3ji.seesaa.net/
解説ページ:https://awaya3ji.seesaa.net/article/499410179.html
ファイル名:FesStyleConfirm.js
プラグインのヘルプ:
/*:ja
* @target MZ
* @orderAfter RemoveSaveFile
* @plugindesc ツクールフェス風の確認ダイアログを生成します。
* @author あわやまたな (Awaya_Matana)
* @url https://awaya3ji.seesaa.net/article/499410179.html
* @help
*
* [更新履歴]
* 2023/05/20:Ver.1.0.0 公開。
* 2023/07/26:Ver.1.1.0 制御文字や中央揃えが正しく機能しない不具合を修正。
* 2024/01/16:Ver.1.1.1 MZ風にした時のアウトライン幅を修正。
*
* @command showConfirm
* @text 確認ダイアログの表示
* @desc 確認ダイアログを表示します。
*
* @arg text
* @text テキスト
* @type note
* @default
*
* @arg ok
* @desc 決定した時のテキストです。
* @text 決定
* @type string
* @default はい
*
* @arg cancel
* @desc キャンセルした時のテキストです。
* @text キャンセル
* @type string
* @default いいえ
*
* @arg switchId
* @text スイッチID
* @desc ダイアログ終了時に代入されます。
* 決定の時ON、キャンセルの時OFF。
* @type switch
* @default 1
*
* @command showAlert
* @text アラートの表示
* @desc アラートを表示します。
*
* @arg text
* @text テキスト
* @type note
* @default
*
* @arg ok
* @desc 決定のテキストです。
* @text 決定
* @type string
* @default はい
*
* @param mzStyle
* @text MZ/MV風にする
* @desc デザインをMZ/MVの物にします。
* @type boolean
* @default false
*
* @param windowSkin
* @text ウィンドウスキン
* @desc ファイル名を指定します。
* @default
* @type file
* @dir img/system
*
* @param windowOpacity
* @text ウィンドウ不透明度
* @desc ウィンドウの不透明度を指定します。
* -1でシステムの初期値。
* @default -1
* @type number
* @min -1
*
* @param windowWidth
* @text ウィンドウ幅
* @desc
* @type number
* @default 528
*
* @param numLines
* @text 行数
* @desc 行数からウィンドウ高さが算出されます。
* @type number
* @default 8
*
* @param maxItemWidth
* @text 要素最大幅
* @desc 選択肢の横幅を制限します。
* @type number
* @default 180
*
* @param itemOffsetX
* @text 要素オフセットX
* @desc 選択肢のX座標を調整します。
* @type number
* @default 32
*
* @param itemOffsetY
* @text 要素オフセットY
* @desc 選択肢のY座標を調整します。
* @type number
* @default 32
*
* @param terms
* @text 用語
* @type struct<terms>
* @default {”saveConfirm”:””データをセーブします。\nよろしいですか?””,”overwriteConfirm”:””データを上書きします。\nよろしいですか?””,”loadConfirm”:””データをロードします。\nよろしいですか?””,”removeConfirm”:””データを削除します。\nよろしいですか?””,”gameEndConfirm”:””タイトルに戻りますか?””,”ok”:”はい”,”cancel”:”いいえ”}
*
*/