Generic Map Bars

Holy87

Villager
Member
Joined
Nov 23, 2014
Messages
14
Reaction score
29
First Language
Italian
Primarily Uses
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.

 ​
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:



 

You can also make effects like this



 

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

Lantiz

PunyMagus
Veteran
Joined
Dec 29, 2012
Messages
723
Reaction score
1,074
First Language
Portuguese
Primarily Uses
Other
Perfect for my ABS.

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

GolfHacker

Veteran
Veteran
Joined
Feb 15, 2015
Messages
477
Reaction score
682
First Language
English
Primarily Uses
RMVXA
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!
 

Ansilvund216

Veteran
Veteran
Joined
Apr 28, 2018
Messages
50
Reaction score
1
First Language
English
Primarily Uses
RMVXA
I'm glad that it is useful to someone other than me :D
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.
 

ShinGamix

DS Style 4Ever!
Veteran
Joined
Mar 18, 2012
Messages
3,905
Reaction score
451
First Language
April Fools
Primarily Uses
N/A
Could be very handy with minigames! Great job.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top