SEK_SimpleHearts

SEK

Veteran
Veteran
Joined
Mar 31, 2016
Messages
56
Reaction score
51
First Language
Italian
Primarily Uses
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

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

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.
 
Last edited by a moderator:

styx92

Veteran
Veteran
Joined
Jan 7, 2016
Messages
310
Reaction score
38
First Language
German
Primarily Uses
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.
 

Unbenannt.PNG
 

SEK

Veteran
Veteran
Joined
Mar 31, 2016
Messages
56
Reaction score
51
First Language
Italian
Primarily Uses
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)
 
Last edited by a moderator:

Juztsacki

Game Developer
Veteran
Joined
Nov 19, 2015
Messages
55
Reaction score
8
First Language
English
Primarily Uses
N/A
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?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

"What do you think the best place to visit on this cold days?" "Hell..."
Been so busy lately that I wonder if I should slowly start preparing the advent calendar resources so I have enough in december.
Man, I wish it was harder for mean d-holes to make me feel like crying.
Made 8 games. Was aiming for 20. Gonna go for 40. Because 20 + 20. /Bed.
Got myself card game plugin, its bit laggy but worth it

Forum statistics

Threads
94,537
Messages
921,714
Members
124,400
Latest member
Standanddeliver
Top