Biud436's HUD (Multiple HUD)

@Jatopian Thank for your feedback. I've resolved the problems that you said.


v1.15 Updated (Base) : 


- Fixed a bug that happens in battle.


v1.15 Updated (Addon) : 


- Added the plugin parameter that could be configurable the property of TP text.
- Fixed the bug that the opacity is not returned as a previous opacity when certain party member is revived.
- Fixed the bug that the technical point gauge does not display.
@Jatopian Thank for your feedback. I've resolved the problems that you said.

Thank you, but I'm afraid there is a more serious bug now as a result of the changes. When a party member is removed while the HUD is showing on the map, the game crashes with the message:


TypeError:


Cannot read property 'isDead' of undefined


Here is a sample project, and here is a screenshot:

Spoiler
hZcawle.png
v1.1.6 Updated : I've updated my plugin and an add-on and the demo game.


 - Fixed the bug that happens when certain party member is removed.
 - Fixed the bug that is not controlled the opacity of HUD when the opacity plugin command is used.
@biud436 I appreciate your perseverance, but there is now a new bug. Here is another sample project to demonstrate. At the beginning of battle:


TypeError: Cannot read property 'forEach' of undefined.
@biud436 I appreciate your perseverance, but there is now a new bug. Here is another sample project to demonstrate. At the beginning of battle:


TypeError: Cannot read property 'forEach' of undefined.



I've checked your demo game but it was not bug. You should try this.


1. Refreshing all the plugin


In plugin manager, You should find the button called ''Refresh' and then click it.

Spoiler
xfLS77w.png



2. Changing the default battle system.


In plugin manager, You have to type the 'atb' in 'Default System' parameter of Yanfly Battle Engine Core plugin.

Spoiler
k7u57xQ.png



3. Enable the 'Use Side-view Battle' option.

Spoiler
YdaUsbj.png
Ah, I apologize.


About ATB and side battle: I didn't actually want them. I only included ATB plugin at all because your first post says this:

- 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

Are you sure this is correct? On further testing, it seems to work without ATB.
Hi, I've found an important bug. This plugin only works when you have already setup a full starting party in the database. Lets say I have a starting party of only actor1 and then decides to add actor2 later in the game, it will crash. Can you please fix it? See crash logs below:


447f69400b65a4daa590b6ee171f050637c88fa7315e754ff0fbc29d844ef678.png



Also, how can I only force 1 HUD on the screen? Lets say I have 2 party members but I only want the HUD of actor 1 on my screen? I need your plugin ONLY for rooms that filled with traps (I'm using the plugin command RS_HUD Visible true and RS_HUD Visible false for that purpose). Since I have not checked the 'Show party followers' in my database, I don't need the HUD for the other actors.
@Jatopian ATB and Side-View Battle options. They are not an essential condition for working this plugin. They are just option. 


@darkelite Could you send the sample project to me? I want to directly see the error in your game. 


But, I know the 'bitmap of undefined' type error, If you are used a different face bitmap, I guess that you should use a preload option. And it is also possible to use just one HUD in your game. You need to fill the array with just one string element called 'LeftTop' in Arrangement parameter. The Arrangement parameter is called when HUD Layer is created. So you can be written as follows (See More Information in this link): ['LeftTop']
@biud436 Yes I will send you the sample project tonight. And thanks for the 'LeftTop' solution.
@biud436 The sample project was sent in a private message. Please let me know if you need anything else. Happy debugging and keep up the great work!
@biud436 The sample project was sent in a private message. Please let me know if you need anything else. Happy debugging and keep up the great work!



Thanks a lot. I've fixed the issue that you said.


v1.17 Updated :


Fixed the bug that causes the error called 'undefined bitmap' when you are adding certain party member.
Thanks a lot. I've fixed the issue that you said.


v1.17 Updated :


Fixed the bug that causes the error called 'undefined bitmap' when you are adding certain party member.



Thanks! I confirm that it's working fine!


Your support is incredibly excellent and you quickly deploy fixes.
It is working with the 1.3 version? it crashes when i use this plugin
The plugin is very good, but i would recommend to add option that allow to hide or show the HUD when a text event appears.


And by the way, there is a way to update the actors face? i mind, my actors changes their actors face with a event, so i want to change their faces in the HUD too.


Oh, nevermind i have find it looking the comments; $Gamehud.refresh worked for it!; i really like this plugin 😀
I'll apply to the next update. You can apply the following code until then.


HUD.prototype.updateOpacity = function() {
var player = this.getPlayer();
if(!this.checkHitToMouse(this._hud, nFaceDiameter) && this.checkHit() ||
player && player.isDead() ||
!this.inBattle() && $gameMessage.isBusy() ) {
this.setOpacityisNotGlobal( this.getOpacityValue(true) );
} else {
this.setOpacityisNotGlobal( this.getOpacityValue(false) );
}
};



Oh, nevermind i have find it looking the comments; $Gamehud.refresh worked for it!; i really like this plugin



Yeah, If you call $gameHud.refresh(), you can refresh the HUD on the screen. The following code is its example.

Code:
// Example
var member = $gameParty.members()[0];
member.setFaceImage("Actor1", 2);
$gameHud.refresh();
Nice to meet you! I because English is not fluent, you will be asked about the Terms of Service. This plug-in commercial use, what possible use in adults for work? I would like your reply by all means.
Nice to meet you! I because English is not fluent, you will be asked about the Terms of Service. This plug-in commercial use, what possible use in adults for work? I would like your reply by all means.

You are possible to use this without restrictions.


So this plugin is also available in adult games or commercial games.
あなたは、制限なしにこれを使用することが可能です。


したがって、このプラグインは大人のゲームや商用ゲームでも利用可能です。
Code:
Thank you for your reply!
Then I will use it by all means.
We look forward to your continued success in the future
@biud436 When the HUD is hidden, it reappears for 0.5 seconds right before entering a battle (on the transition to the battle to be more precise). Is it easy to fix?
@biud436 When the HUD is hidden, it reappears for 0.5 seconds right before entering a battle (on the transition to the battle to be more precise). Is it easy to fix?



I fixed it. 

Original thread: https://forums.rpgmakerweb.com/threads/biud436s-hud-multiple-hud.58919/