Theo - Enemy HP Gauge

About:
Adds HP gauge to the enemy

Features:
Spoiler
Animation
hpgauges.gif


Segmented HP Gauge
Screenshot_680.jpg


Afterimage (Idk what should I call this tbh)
bardepleted2.gif


A persistent show, or on select only.
hpbarselection.gif
More in the plugin parameters and the description.

Download:
Save as Theo_EnemyHPGauge.js

Terms of use:
Full ToU goes here

I hope you find this useful.
Thanks you for your hard work,im fan of your scripts since the Vx/ace era.
Just a litlle question,can you make the same but for actors?
Thanks you for your hard work,im fan of your scripts since the Vx/ace era.
Just a litlle question,can you make the same but for actors?
Thank you for your kind word.

My personal opinion on this is, you already have actor HUD, so making a gauge for the actor is just redundant. I don't see myself using it, so it is highly unlikely.
Nice work Theo, these will come in handy with my game...
Thanks for this plugin. It suits my need a bit better than the gauges from VisuStella's BattleCore plugin.
However, I can't see any Offset settings, and the gauges are misplaced by default.
I'm using the 1.0.1 plugin version. Did I misunderstood something ? Thanks.
If it is really that misplaced, then something must be interfering with the plugin. Are you using it together with VS plugin?

But to answer your question, offset setting is placed individually in enemy note box using
<gauge offset x: n>
<gauge offset x: -n>
<gauge offset y: n>
<gauge offset y: -n>
Alright, thanks for the answer. I managed to fix the placement with the Offsets.
Gonna be annoying to do it for each enemy though, but that's okay.
And yeah I use VS' Battle Core Plugin, but I tried to disable every plugin but yours and this issue still happens.

So, I tried to switch back my Game resolution from 1920x1080 to 1280x720, and in results, the default Gauge placements are much better !
I assume that your plugin work best with default RPG Maker resolution and then the Offset parameters are needed for custom resolutions.

Well that's good to know. Thanks again for the help !
That is interesting to take note of. I never tried in 1080p resolution since I never really a fan of such high resolution (you're alienating people who use lower resolution). Thus I did not test it, but I also did not expect if it would also cause a problem.

Are you using another plugin to fix the enemy placement or VS already took care of that? Because as far as I know, you can not place the enemy outside of the default editor boundary.
I'm not sure if VS or someone else has made a plugin or fix for that.
By default, with a 1080p Res, the enemy placement is kinda limited to the left side of the battle screen.
(like if I place one completely at the right, it will appear close to the middle of the battle screen. Exemple in the screenshot).

This isn't a big issue for me since I currently don't plan to place enemies elsewhere than the left side, but I'll need to find a solution later 👍
I am SUPER new to RPG maker. I have been looking for this exact thing to add to my game. I have just finished it, and want to add the HP bars to the enemies. How do I used the code that I see when I click the link. Sorry i'm so noobish!
TypeError
Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Value is not of type 'long'.

Is there any image file for this plugin?
This plugin does not require any image file.
This is really amazing! But I can't get it to work because it says "ColorManager is not defined" whenever I enter a battle 🙁
I am SUPER new to RPG maker. I have been looking for this exact thing to add to my game. I have just finished it, and want to add the HP bars to the enemies. How do I used the code that I see when I click the link. Sorry i'm so noobish!
You need to save the link by clicking save as. And then add the file to your plugins folder in your game's folders. :>
This is really amazing! But I can't get it to work because it says "ColorManager is not defined" whenever I enter a battle 🙁
Then it isn't amazing.
Did you just try this plugin in RMMV by any chance?
Then it isn't amazing.
Did you just try this plugin in RMMV by any chance?
I used it on MV, and didn't use it on MZ. I just thought that a lot of MZ plugins work on MV. Sorry if it only works on MZ!
Some MZ plugins might work in MV (such as if it is just a mechanic-related plugin).
But if an MZ plugin modifies something related to the interface, a huge chance that it will not work for MV.
Some MZ plugins might work in MV (such as if it is just a mechanic-related plugin).
But if an MZ plugin modifies something related to the interface, a huge chance that it will not work for MV.
Oh I get it, thank you. It's such a shame that I won't be able to use your well made plugin tho 🙁 Are there any free HP bar plugins in MV do you know of? Or is there a way I can convert your plugin to work for MV?
I won't port it to MV, but anyone is free to do it. So you can others to do it for you.
And no, I don't know the alternative version for MV.
Are there any free HP bar plugins in MV
If you Google "RPG Maker MV hp gauge" you'll see several options including Yanfly's (which is not free, but is very customizable and comes with other useful things at the $10 price point) and the Pretty Sleek Gauges here on the forums.

Original thread: https://forums.rpgmakerweb.com/threads/theo-enemy-hp-gauge.133044/