MZ用プラグイン

Sakura マップ上にステータス表示 - Sakura_MapStatusHud.js

シェア用テキスト:
▼Sakura マップ上にステータス表示(Sakurano様作) - Sakura_MapStatusHud.js
https://plugin-mz.fungamemake.com/archives/7355
マップ上にステータス表示します。

ふりがな:まっぷじょうにすてーたすひょうじ

機能概要: マップ上にステータス表示します。

利用規約(ライセンス): MITライセンス

作者:Sakurano

作者サイト:https://x.com/minnon6130

解説ページ:https://github.com/Sakurano6130/SakuraPlugins/blob/main…

ファイル名:Sakura_MapStatusHud.js

プラグインのヘルプ:

*:
 * @target MZ
 * @plugindesc マップ上にステータス表示します。
 * @author Sakurano
 * @url https://github.com/Sakurano6130/SakuraPlugins/
 * @help
 * マップ上にステータス表示します。
 *
 * -------------------------------------------------
 * Sakura_MapStatusHud
 * Copyright (c) 2024 Sakurano
 * This software is released under the MIT license.
 * http://opensource.org/licenses/mit-license.php
 * -------------------------------------------------
 * 2024/09/08 1.2.0 画面の幅・高さとUIエリアの幅・高さが異なる場合の位置調整。
 *                  表示位置の調整機能追加。
 *                  常に半分表示機能の追加。
 * 2024/09/07 1.1.0 表示制御の機能追加、アクター表示順の選択機能追加
 * 2024/09/05 1.0.0 公開
 * -------------------------------------------------
 *
 * プラグインコマンド:
 *
 * 常に表示モードにする:
 * HUDを常に表示します。自動表示モードに戻すまで表示し続けます。
 * イベント実行中も表示されます。
 *
 * 常に隠すモードにする:
 * HUDを常に隠します。自動表示モードに戻すまで表示されません。
 *
 * 自動表示モードに戻す:
 * 自動表示モードに切り替えます。時間差で半分隠れるようになり、
 * イベント実行中は全体が隠れます。
 *
 * -------------------------------------------------
 * @param groupShowEachItem
 * @text 📄 各項目を表示するかどうか ---
 *
 * @param ShowActorName
 * @parent groupShowEachItem
 * @text 名前を表示するかどうか
 * @desc 名前を表示するかどうか。trueで表示、falseで非表示。
 * @type boolean
 * @default true
 *
 * @param ShowActorLevel
 * @parent groupShowEachItem
 * @text レベルを表示するかどうか
 * @type boolean
 * @desc レベルを表示するかどうか。trueで表示、falseで非表示。
 * @default true
 *
 * @param ShowActorClass
 * @parent groupShowEachItem
 * @text 職業を表示するかどうか
 * @type boolean
 * @desc 職業を表示するかどうか。trueで表示、falseで非表示。
 * @default true
 *
 * @param ShowActorFace
 * @parent groupShowEachItem
 * @text 顔グラフィックを表示するかどうか
 * @type boolean
 * @desc 顔グラフィックを表示するかどうか。trueで表示、falseで非表示。
 * @default true
 *
 * @param ShowActorHP
 * @parent groupShowEachItem
 * @text HPを表示するかどうか
 * @type boolean
 * @desc HPを表示するかどうか。trueで表示、falseで非表示。
 * @default true
 *
 * @param ShowActorMP
 * @parent groupShowEachItem
 * @text MPを表示するかどうか
 * @type boolean
 * @desc MPを表示するかどうか。trueで表示、falseで非表示。
 * @default true
 *
 * @param ShowActorTP
 * @parent groupShowEachItem
 * @text TPを表示するかどうか
 * @type boolean
 * @desc TPを表示するかどうか。trueで表示、falseで非表示。
 * @default true
 *
 * @param ShowActorState
 * @parent groupShowEachItem
 * @text ステートアイコンを表示するかどうか
 * @type boolean
 * @desc ステートアイコンを表示するかどうか。trueで表示、falseで非表示。
 * @default true
 *
 * @param groupLayout
 * @text 🖼️ レイアウト ---
 *
 * @param displayOrder
 * @parent groupLayout
 * @text 表示順
 * @desc 各アクターの表示順を設定します。
 * @type select
 * @option 上から下
 * @value fromTopToBottom
 * @option 下から上
 * @value fromBottomToTop
 * @default fromTopToBottom
 *
 * @param windowWidth
 * @parent groupLayout
 * @text 各アクターのウィンドウの幅
 * @type number
 * @desc 各アクターのウィンドウの幅を設定します。
 * @default 220
 *
 * @param windowHeight
 * @parent groupLayout
 * @text 各アクターのウィンドウの高さ(全体の高さではなく各アクターの高さです)
 * @type number
 * @desc 各アクターのウィンドウの高さを設定します。
 * @default 100
 *
 * @param faceSize
 * @parent groupLayout
 * @text 顔グラフィックのサイズ(0で自動調整)
 * @type number
 * @desc 顔グラフィックのサイズを設定します。等倍は144です。0にすると大きさを自動調整します。
 * @default 0
 *
 * @param nameFontSize
 * @parent groupLayout
 * @text 名前のフォントサイズ
 * @type number
 * @desc 名前のフォントサイズを設定します。
 * @default 18
 *
 * @param levelFontSize
 * @parent groupLayout
 * @text レベルのフォントサイズ
 * @type number
 * @desc レベルのフォントサイズを設定します。
 * @default 18
 *
 * @param gaugeLabelFontSize
 * @parent groupLayout
 * @text ゲージラベルのフォントサイズ
 * @type number
 * @desc ゲージラベルのフォントサイズを設定します。
 * @default 18
 *
 * @param gaugeHeight
 * @parent groupLayout
 * @text ゲージの高さ
 * @type number
 * @desc ゲージの高さを設定します。
 * @default 8
 *
 * @param gaugeValueFontSize
 * @parent groupLayout
 * @text ゲージ値のフォントサイズ
 * @type number
 * @desc ゲージ値のフォントサイズを設定します。
 * @default 18
 *
 * @param statusIconSize
 * @parent groupLayout
 * @text ステートアイコンのサイズ
 * @type number
 * @desc ステートアイコンのサイズを設定します。
 * @default 24
 *
 * @param marginOfEachActor
 * @parent groupLayout
 * @text アクター間の余白
 * @type number
 * @desc アクター間の余白を設定します。
 * @default 0
 *
 * @param fontFileForString
 * @parent groupLayout
 * @text 文字やラベルのフォントファイル名
 * @desc 文字やラベルのフォントファイル名
 * @type string
 * @default
 *
 * @param fontFileForNumber
 * @parent groupLayout
 * @text HPなどの数字のフォントファイル名
 * @desc HPなどの数字のフォントファイル名
 * @type string
 * @default
 *
 * @param windowOffsetX
 * @parent groupLayout
 * @text HUD全体のX軸位置調整
 * @desc HUD全体のX軸位置調整。正の値で右、負の値で左にずらします。
 * @type number
 * @min -9999
 * @max 9999
 * @default 0
 *
 * @param windowOffsetY
 * @parent groupLayout
 * @text HUD全体のY軸位置調整
 * @desc HUD全体のY軸位置調整。正の値で下、負の値で上にずらします。
 * @type number
 * @min -9999
 * @max 9999
 * @default 0
 *
 * @param controlVisibility
 * @text 🎛️ 表示制御 ---
 *
 * @param hudHideCount
 * @parent controlVisibility
 * @text HUDが半分隠れるまでのカウント数
 * @type number
 * @desc HUDが自動で隠れるまでのカウント数を設定します。
 * @default 600
 * @min 1
 *
 * @param needsCheckPlayerCollide
 * @parent controlVisibility
 * @text プレイヤーと重なった時半透明にするか
 * @type boolean
 * @on 半透明にする
 * @off 半透明にしない
 * @desc プレイヤーと重なった時、HUDを半透明にします。処理が重たくなってしまうようだったらfalseにしてください。
 * @default true
 *
 * -------------------------------------------------
 * @command forceNeedsAllShowOn
 * @text 常に表示モードにする
 * @desc HUDを常に表示します。自動表示モードに戻すまで表示し続けます。イベント実行中も表示されます。
 *
 * @command forceNeedsAllHideOn
 * @text 常に全部隠すモードにする
 * @desc HUDを常に全部隠します。自動表示モードに戻すまで表示されません。
 *
 * @command forceNeedsHalfHideOn
 * @text 常に半分隠すモードにする
 * @desc HUDを常に半分隠します。自動表示モードに戻すまで半分隠れます
 *
 * @command setForceModeOff
 * @text 自動表示モードに戻す
 * @desc 自動表示モードに切り替えます。時間差で半分隠れるようになり、イベント実行中は全体が隠れます。
 *
 */

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

Copyright© #ツクプラMZ , 2026 All Rights Reserved.