Generic Map Bars

Hi everyone, I'm Holy87, an italian developer that uses RPG Maker since 2000.

In those years I've made a lot of scripts useful to many features, and ultimately I decided to translate them in english to be used for international scripters. At this time I have translated only a few number of my scripts, but in the next days you'll se more. If you want see all my published script for international use, please see my Resource Showcase blog.

 ​
genbar-title.png
Generic Map Bars​
v1.2​
 ​
Description

This script allows you to show a gauge on the map that indicates all you want. You can also flash and shake it, change size, color and position.

Instructions

Paste this script under Materials and before the Main. You can set the bar's description with a SCRIPT CALL:

  • set_bar("Text"), for the bar title (like Life, Mana etc...) when setted, you can use the command to show the bar like this:
  • show_bar. You can set the bar value with a number between 0 and 100, calling the script
  • set_bar_value(x), where x is the value to close the windows when you don't need it anymore:
  • hide_bar
More options are showed inside the script.

For example, a call script like this:

Code:
set_bar("Hello world!")set_bar_value(80) #percentageshow_bar
I've for result:

ex2.png


 

You can also make effects like this

example.gif


 

Copyright

Creative Commons-BY. Everyone can distribute, edit and use this script in free and commercial games. Credit required.

 

Download

Download from Pastebin

Blog page
Perfect for my ABS.

You sir has my respect (if that means anything lol). 
Perfect for my ABS.

You sir has my respect (if that means anything lol). 
I'm glad that it is useful to someone other than me 😀
I've been wondering how I was going to implement hunger/thirst bars, and this looks like it will do nicely. I'll have to give it a go!
I'm glad that it is useful to someone other than me 😀
Hello Sir, very nice script, I was wondering how do I deduct the values of the bar? is it set_bar_value? and also I want it to regenerate if I
heal or use a healing item, or regenerates over time.
Could be very handy with minigames! Great job.

Original thread: https://forums.rpgmakerweb.com/threads/generic-map-bars.43528/