SEK_SimpleHearts

SEK_SimpleHearts - v 1.0
By SEK
Introduction



Draws Hearts on the screen based on your main actor's Hp using pictures.
(pictures should be 48x48 pixels png, you just need to have a "half heart" and a "full heart" version, but they can be whatever you want: bars, dogs, hearts, coins etc...


feel free to use the hearts and the bars I made: you can find them in the Plugin section -scroll down-)


Pay Attention:


Hearts will be displayed using pictures from 50 to 99, so:


- you shouldn't use those ids as picture ids if you're using this plugin;


- hearts are limited to 25 full hearts!


 (It means 50 units of Hp: if unit=10, a max. of


 500Hp will be displayed even if your actor has


 600Hp - hearts will be removed if they go under


 500Hp).


Features
- Draws Hearts on the screen based on your main actor's Hp using  pictures.


- Change Pictures with Plugin Commands & from Plugin Manager


- Change half heart value (unit) with Plugin Commands & from Plugin Manager


- Turn on/off the plugin with Plugin Commands & from Plugin Manager


- Turn on/off the plugin in battle with Plugin Commands & from Plugin Manager



Plugin Commands:


• sekhearts on        Activates the command


• sekhearts off        Deactivates the command


• sekhearts bon      Activates the command


• sekhearts boff      Deactivates the command


• sekhearts unit x   Change Half Heart Unit to x


• sekhearts fh x      Change Full Heart's picture name to x


• sekhearts hh x     Change Half Heart's picture name to x



Screenshots/Video

Spoiler
with bars:


screenshot.2016-12-03 (1).png


with hearts:


screenshot.2016-12-03.png


How to use
Plug&Play



Plugin


Right Click To Save
pictures to put in \img\pictures

Spoiler
right click to save:


- bars    fb.png &  hb.png


- hearts fh.png & hh.png


Credit and Thanks
- SEK

Author's Notes
Even if I try my best, I might not be able to help with issues.
This may have issues with other plugins using regions.
You are free to use this plugin. If you do use it, I'd like to have my name and my plugin's name included in credits.
really sweet!
But if i open the menu than it crashs. But at an empty project it will work.
Mabye you can find a mistake.
 

Spoiler
Unbenannt.PNG
Mabye you can find a mistake.

Or more than one!
Some ';' were missing, but surely the problem is still there.


(you can try it now however.. maybe I've been lucky LOL)
Could you send me a list of all the plugins you are using? (you can find it in the "plugins.js" file in 'js' folder)
I'm having an issue, when I use this plugin with chromo engine. I get an error message "Cannot read property 'hp' of undefined"

Can some one offer me some assistance?

Original thread: https://forums.rpgmakerweb.com/threads/sek_simplehearts.71832/