じ☆ve冰风 发表于 2026-8-2 07:56:02

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.

 ​

https://holy87.files.wordpress.com/2015/08/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:


https://holy87.files.wordpress.com/2015/08/ex2.png?w=300&h=230


 

You can also make effects like this


https://holy87.files.wordpress.com/2015/08/example.gif?w=780


 

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


本贴来自国际rpgmaker官方论坛作者:Holy87处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/generic-map-bars.43528/
页: [1]
查看完整版本: Generic Map Bars