Help - Search - Members - Calendar
Full Version: Quick Window_Base question
RPG RPG Revolution Forums > Scripting > Script Development and Support > RGSS2
munkis
My question refers to this post:

http://www.rpgrevolution.com/forums/index....st&p=518965

I want to get rid of the arrow that's created, but I don't know how.
BigEd781
That arrow is part of the windowskin and is rendered in the base library, not in the scripts found in the editor. However, I have a solution for you. Here is the (replicated) code for the RGSS2 Window class:

http://www.rpgmakervx.net/index.php?showto...amp;#entry77312

It may seem a bit intimidating at first, but by changing that script you can completely modify the way a Window is rendered in VX.
Titanhex
I don't think he wants to get rid of the window exactly. But rather, he doesn't understand why the window is appearing in the first place and how to make sure it doesn't appear. It's conceived more as an error in the script made rather than an issue with the graphic.
BigEd781
Right, but what I'm saying is that is the default behavior of the Window class. If the internal Bitmap is larger than the size of the window it will display the arrow because it is assumed that there will be more items painted onto the Bitmap that are out of view. If you want to get rid of it there are only two options:

1. Don't make the Bitmap larger than the Window.
2. Modify the Window class to do what you want.
Titanhex
Ahh, I see. I myself have learned something new then.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.