じ☆ve冰风 发表于 2026-7-30 15:05:03

Orange HUD


Orange HUD
    HUDell
    You don't need a new HUD if you got a HUDell.




Introduction
    This plugin will let you add a customizable HUD on your game.

HUD Params
DefaultFontFace
    The font face that will be used by default on all lines

DefaultFontSize
    The font size that will be used by default on all lines

DefaultFontColor
    The font color that will be used by default on all lines

DefaultFontItalic
    Should all lines be italic by default?

HudWidth
    The total width of the HUD, set it to 0 to use the whole game screen

HudHeight
    The total height of the HUD, set it to 0 to use the whole game screen

HudX
    The X position of the HUD

HudY
    The Y position of the HUD

HudOpacity
    The opacity of the HUD

SwitchId
    You can use this to configure a switch to control the HUD visibility

Line Params
FontFace
    The font face that will be used on this line. Leave empty to use the HUD default.

FontSize
    The font size that will be used on this line. Leave empty to use the HUD default.

FontColor
    The font color that will be used on this line. Leave empty to use the HUD default.

FontItalic
    Should this line be italic?

VariableId
    The main variable of this line. Everytime the value of this variable changes, the HUD will be refreshed.

Patern
    The line content. You can use %1 to display the main variable value, or text command like \v, \i.

X
    The X position of this line inside the HUD

Y
    The Y position of this line inside the HUD

ScriptPattern
    You can use this param to create a pattern with a script instead of a single string.

How to Use
    Add the OrangeHud.js and the OrangeHudLine.js plugins on your project and configure the params the way you want them.
    If you want to add more lines on the HUD, create a copy of the OrangeHudLine.js file, called OrangeHudLine2.js and add it on your project. You can add as many lines as you want, but the name of the plugin file must start with OrangeHudLine. You can use any other add-on instead of the line.

    I also wrote a blog post explaining the plugin in more details.



Plugin
OrangeHud.js

Add-Ons:


[*]OrangeHudGroup.js - Used to create multiple HUDs.
[*]OrangeHudLine.js - To add a single variable to the hud.
[*]OrangeHudAlignedLine.js - Same features as the regular line, except for the text commands (\i, \v and so on). Includes alignment.
[*]OrangeHudVariablePicture.js - To add a variable picture to the hud.
[*]OrangeHudFixedPicture.js - To add a fixed picture to the hud.
[*]OrangeHudClock.js - To add a clock to the hud.
[*]OrangeHudDate.js - To add a date to the hud.
[*]OrangeHudLineGroup.js - To add several variables to the hud.
[*]OrangeHudGold.js - To add the gold amount to the hud.
[*]OrangeHudActorStatus.js - To add info about a party member to the hud.
[*]OrangeHudActorGauge.js - To add a gauge using data from a party member
[*]OrangeHudFacePicture.js - To add the face of a party member to the hud.
[*]OrangeHudVariableIcon.js - To add a variable icon to the hud.
[*]OrangeHudScriptIcon.js - To add an icon using a script.
[*]OrangeHudGauge.js - To add a gauge on the hud.

Dependencies
    None.

License
    Free for any game.


本贴来自国际rpgmaker官方论坛作者:Hudell处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/orange-hud.47186/
页: [1]
查看完整版本: Orange HUD