Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Quick Window_Base question
munkis
post Aug 15 2011, 01:59 PM
Post #1


Woah, dude...
Group Icon

Group: Revolutionary
Posts: 197
Type: Writer
RM Skill: Intermediate




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.


__________________________
Go to the top of the page
 
+Quote Post
   
BigEd781
post Aug 15 2011, 03:36 PM
Post #2


No method: 'stupid_title' found for `nil:NilClass'
Group Icon

Group: Revolutionary
Posts: 1,829
Type: Scripter
RM Skill: Undisclosed




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.

This post has been edited by BigEd781: Aug 15 2011, 03:37 PM


__________________________
`
Give me teh codez!!!


I am the master debator!
Go to the top of the page
 
+Quote Post
   
Titanhex
post Aug 15 2011, 09:10 PM
Post #3


Guru of Water
Group Icon

Group: Revolutionary
Posts: 1,096
Type: None
RM Skill: Masterful
Rev Points: 5




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.


__________________________
Go to the top of the page
 
+Quote Post
   
BigEd781
post Aug 16 2011, 08:54 AM
Post #4


No method: 'stupid_title' found for `nil:NilClass'
Group Icon

Group: Revolutionary
Posts: 1,829
Type: Scripter
RM Skill: Undisclosed




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.


__________________________
`
Give me teh codez!!!


I am the master debator!
Go to the top of the page
 
+Quote Post
   
Titanhex
post Aug 16 2011, 04:11 PM
Post #5


Guru of Water
Group Icon

Group: Revolutionary
Posts: 1,096
Type: None
RM Skill: Masterful
Rev Points: 5




Ahh, I see. I myself have learned something new then.


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 02:53 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker