The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: blazinhandle on March 07, 2007, 10:21:44 PM

Title: Window Defunct
Post by: blazinhandle on March 07, 2007, 10:21:44 PM
I'm having some troubles with "->"s and "|" appearing on the outsides of windows that i have set the opacity to 0. Anyway, I've circled (if you can call them that) the spots. Thanks!
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi33.photobucket.com%2Falbums%2Fd77%2FBlazinhandle%2FBossBattleHELP.png&hash=5b3dff0bfd5db87fa90385062c8a1a8fcab7ac81)
Title: Re: Window Defunct
Post by: Tsunokiette on March 08, 2007, 05:54:34 AM
Solution -

Create an identical windowskin only without the arrows and use it for the menus instead. Keeping the original copy for the rest of the game, or just use a blank  windowskin for the windowskin.
Title: Re: Window Defunct
Post by: Blizzard on March 08, 2007, 12:28:30 PM
It's not defect. The problem happens if the bitmap is bigger than the window. By default the window needs to be at least 32 pixel bigger in width and height to avoid that. That's why it always says:

self.contents = Bitmap.new(width - 32, height - 32)

Just mess around with thos numbers and the window width/height itself and it will dissappear. BTW, for the one at the botton, you can just increase the NUMBER in this line:

@actor_command_window = Window_Command.new(NUMBER, ...)

It should be very similar in the CBS you are using. Basically increase that number by 32, 64, 96, etc. until the arrow is gone.
Title: Re: Window Defunct
Post by: blazinhandle on March 08, 2007, 02:40:19 PM
you never cease to help or impress. thanks blizz ;)