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
39
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
9
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?
 

Latest Threads

Latest Posts

Latest Profile Posts

Winter Cover.png
Peeps, can we just take some time to appreciate the mods here? They're so friendly, and they're always there for us when we need help. Now that I've been here for two years, I want to thank the mods and admins for keeping it positive here on the forum. They're the reason I've stayed so long! Here's to you!
If it gets 6 degrees hotter we've reach 100
I am finally done making the 'superbosses' in my game!
I'm happy because oh my gosh they were a lot of work, but I'm also sad because I love database work... And also because I loved making stupid powerful bosses ._.
Question for anyone who reads Slip into Ruby or Jump into Javascript: do I sometimes get too "explainy" with the methods/functions? Would it be more useful if I stuck to explaining what the code is doing rather than also delving into minutiae of the technical side of it?

Forum statistics

Threads
111,122
Messages
1,058,495
Members
144,344
Latest member
fartsucker
Top