设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 60|回复: 0

[转载发布] Biud436's HUD (Multiple HUD)

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29925
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    38778

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式

    Biud436's HUD (Multiple HUD) 1.2.8



    byBiud436



    Introduction


        This plugin draws the HUD that displays the hp and mp and exp and level of each party members.


        Screenshots

    Spoiler

























    How to Use

    Spoiler

    • Adding a Plugin to your Project
                Download the plugin and place it in the folder called your_project_directory/js/plugins.


                Then In Plugin Manager, Select the RS_HUD_4m plugin and add it.


    • Adding Resources to your Project

                Download the resources and place them in the folder called img/pictures.


                All the resources can download in the following link.


    Resources Download







    • Plugin Manager / Plugin Parameters
                In Plugin Manager, You have to pre-load the resources using the parameter called 'preloadImportantFaces'. It basically pre-loads the face called 'Actor1' and 'Actor2' and 'Actor3'. (If you do not set this parameter, It can cause errors in the game)



    • Custom Position
      To display in correct place, you need to know which predefined variables are currently available. You can be available predefined variables as belows when specifying the parameter named 'Custom Pos'. So you can quickly set up positions for a hud itself.

      Predefined Variables :
         W   - 'W' is the same as a parameter named 'Width' in Plugin Manager.
         H   - 'H' is the same as a parameter named 'Height' in Plugin Manager
         PD  - 'PD' is the same as a parameter named 'Margin' in Plugin Manager
         BW  - 'BW' is the same as a maximum width of the game canvas.
         BH  - 'BH' is the same as a maximum height of the game canvas.

      Each sprites draw at changing position relative to the background sprite. Therefore, this custom position is pretty important values.




       Note Tags

    SpoilerInsert the following the notetag into the map property window as below.

      <DISABLE_HUD> : A notetag can use in the map that does not wish create each huds.




    Code

    SpoilerSet Opacity
      Sets the opacity of the HUD to x.

         $gameHud.opacity = x;

      That is a number between 0 and 255.

      For example :
         $gameHud.opacity = 128;


    Set visibility
      This variable will change the visible option of the HUD.

         $gameHud.show = true/false;

      For example :
         $gameHud.show = false;

    Refresh Texts
      In general, text and gauge sprites refresh when requesting a refresh so this one is not updated on every frame. Therefore if you need to immediately refresh all texts for themselves, you will use as belows.

        $gameTemp.notifyHudTextRefresh();

    Clear and create all huds
      if you need to immediately recreate for all Huds, you will use as belows.

        $gameTemp.notifyHudRefresh();






    Plugin Commands

    SpoilerThis plugin command adjusts the opacity of the HUD. The x is number value between 0 and 255.

                    Code:       
    1. RS_HUD Opacity x
    复制代码


                This plugin command sets the HUD's visible status to true.

                    Code:       
    1. RS_HUD Visible true
    复制代码




                This plugin command sets the HUD's visible status to false.

                    Code:       
    1. RS_HUD Visible false
    复制代码



                Import the parameter as the json file from your data folder.

                    Code:       
    1. RS_HUD import file_name
    复制代码




                Export the current parameter as the json file to your data folder.

                    Code:       
    1. RS_HUD export file_name
    复制代码








    Demo

    SpoilerThe demo file can download in the following link.


    Demo Download





    Plugins


        This plugin can be found in the following link.


        - Github RAW


        - Battle Addon : This plugin requires YEP_BattleEngineCore and YEP_X_BattleSysATB files and then you should put additional image file in your project/img/pictures folder.


    Change Log

    Spoiler2015.10.31 (v1.0.0) - First Release
                2016.02.24 (v1.0.1) - Added the Plugin Command.
                2016.03.04 (v1.0.2) - Added the note called @requiredAssets which is added in 1.1.0 version.
                2016.03.18 (v1.0.3) - Added the parameter called 'Arrangement'


                2016.03.26 (v1.0.4) - Fixed a bug that the HUD is always displayed regardless of the setting whenever transferring the player to the other map.


                2016.05.05 (v1.0.5) - Fixed a bug that the text does not change.


                2016.05.17 (v1.0.6) - Fixed a structure of the class.


                2016.05.21 (v1.0.7) - Added the plugin parameter that can be able to display the plugin in battle mode only.
                2016.05.21 (v1.0.8) - Fixed a bug of the opacity.


                2016.06.30 (v1.0.9) - Added the parameter that displays the values with commas every three digits.


                2016.07.30 (v1.1.0) - Added the parameter for setting fonts.


                2016.09.05 (v1.1.1) - Now you can change the image file name, and can also be used the option called 'exclude the unused files'.


                2016.09.13 (v1.1.2) - Added Max Exp Text and Fixed the exp rate.


                2016.09.26 (v1.1.3) :
                 - Added the function that could be re-positioning with all the components.
                 - Added the glittering gauge-bar effects in lower HP or MP value.
                 - Added the function that can display the name.
                 - HUD's opacity will decrease if the player is colliding with HUD.
                 - The HUDs opacity will be decreased if the party member is dead.


                2016.09.27 (v1.1.4) :
                 - HUD's visible setting sets as the false before calling the battle.
                 - Added the function that allows all plugin parameters to import or export.


                2016.10.08 (v1.1.5) - Fixed a bug that happens in battle.


                2016.10.11 (v1.1.6) :
                 - Fixed the bug that happens when certain party member is removed.
                 - Fixed the bug about the global opacity variable.


                2016.10.14 (v1.1.7) - Fixed the bug that causes the error called 'undefined bitmap' when you are adding certain party member.


                2016.11.16 (v1.1.8) - Fixed a bug with the Battle Background.


                2016.12.19 (v1.1.8b) - Fixed a bug that is not set up the coordinates of the face image.


                2016.12.22 (v1.1.9) :
                 - Now this plugin does not perform a changing opacity and tone in mobile devices, because of poor performance.
                 - Fixed to update the texts through event handlers.
                 - Fixed an issue that plugins did not work due to image position data parsing errors in crosswalk.


                 - Fixed an issue that can not be saved due to this update.


                2017.01.06 (v1.2.0) :
                - Fixed to redraw the Hud when using the $gameParty.swapOrder method.
                - Fixed the hud to process the refresh when the event lisnter listens a refresh request.
                  $gameHud.refresh() -> $gameTemp.notifyHudRefresh();


                2017.01.25 (v1.2.1) - Fixed a bug that causes the null when 'battle only' parameter is true.


                2017.01.26 (v1.2.2) :
                - Fixed a bug that is not working to preload
                - Added a new parameter that could increase the number of the HUD.
                - Added parameters for user custom HUD position.
                - Fixed an issue that is not working in battle test mode

                2017.03.06 (v1.2.3) :
                - Added many descriptions for plugin parameters and help section.
                - Altered the hud to be updated all parameters once when initializing.

                2017.04.13 (v1.2.4) - Fixed the issue that the parameters update function is properly not working in case of you're not using the battle addon, in a community version.
    2017.06.08 (v1.2.5) - Fixed the issue that is not displaying specific image in RMMV 1.5
    2017.09.17 (v1.2.6) - Fixed the bug that cause the error when restarting the game.
    2017.10.26 (v1.2.7) - This plugin has applied with the new plugin manager features in the plugin parameters.
    2017.10.27 (v1.2.7b) - Fixed the issue that has the endless loading when using the custom font.
    2018.05.09 (v1.2.8) - Supported a face image that is made using SumRndmDde's CharacterCreatorEX plugin.






    Credit and Thanks
        - Biud436


    Terms of Use
        Free for commercial and non-commercial use.


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

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-1 03:40 , Processed in 0.093366 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表