escape bar

Started by nathmatt, May 15, 2009, 03:28:20 pm

Previous topic - Next topic

nathmatt

ok im trying to make a escape bar for my battle add_on but not really sure hot rect works
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


fugibo

1) More info on what you're trying to do, please

2) Which "rect?" There's the Rect class, fill_rect, draw_text, etc. Please specify what you need.

nathmatt

May 15, 2009, 06:35:38 pm #2 Last Edit: May 20, 2009, 07:43:36 pm by nathmatt
im trying to make a bar that fills up in say 5 or so seconds then i use a custom made escape i will make when i get this its for my BLABS battle add_on

edit: can any 1 help ? i just need to know how to make a bar that fills
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


nathmatt

any 1a quick guide would help
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


fugibo

Oh, if you have a sprite with the bitmap set:

self.bitmap.fill_rect(<x>, <y>, <width>, <height>, Color.new(<red>, <green>, <blue>, <transparency>)