Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: nathmatt on May 15, 2009, 03:28:20 pm

Title: escape bar
Post by: nathmatt on May 15, 2009, 03:28:20 pm
ok im trying to make a escape bar for my battle add_on but not really sure hot rect works
Title: Re: escape bar
Post by: fugibo on May 15, 2009, 04:26:57 pm
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.
Title: Re: escape bar
Post by: nathmatt on May 15, 2009, 06:35:38 pm
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
Title: Re: escape bar
Post by: nathmatt on May 21, 2009, 08:58:05 am
any 1a quick guide would help
Title: Re: escape bar
Post by: fugibo on May 21, 2009, 09:13:57 am
Oh, if you have a sprite with the bitmap set:

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