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

I'm back to the bugs.
100 bugs in my coding,
take one down,
fix it up,
132 bugs in my coding.
On the plus side, if all this rioting sparks another Covid outbreak... I will have a whole lot of time to work on my game. Not exactly how I wanted to get that time, but hey I'm a glass is half full... of RM kind of guy. :LZSwink:
A video once in a while won't hurt.
Have a craving for a Nesquik milkshake. No idea why. Haven't had one since I was a kid. lol. I remember them kinda tasting nice, but also leaving a lot of nasty powder at the bottom of the cup.

Forum statistics

Threads
98,068
Messages
949,008
Members
129,341
Latest member
Shinkukae
Top