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

I want to work on my reboot, but I don't have time to do it. ;_;
4y195n.png
big image so i posted it as a spoiler
Just a reminder to back your projects up. Do it now! :yamero:
If there was an award for best game dev procrastination, I'd say 'meh, I'll pick it up tomorrow' >_>
Honestly though, I've been staring at the same half-made map for a while now haha! Ahhh, I'm so tired of mapping!
Time to add the support for import/export default RMXP maps. Maybe there will be customized tileset support later. In theory, I can reimplement the entire RMXP inside this RMXP-made game to make more RMXP games. :kaojoy:RMXPFORMATSUPPORT.jpg

Forum statistics

Threads
111,269
Messages
1,059,776
Members
144,566
Latest member
Loltoheaven777
Top