iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

The 2nd Quarter Contest has arrived! Go check it out in the Community Announcements now!
 
Reply to this topicStart new topic
> [Scripter's Tool] Improved Window class, Tiled window backgrounds and more
BigEd781
post Jan 1 2009, 04:12 AM
Post #1


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


Type: Coder
Alignment: Chaotic Good





Moved to a community owned site, come join us!



--------------------
My blog - It's awesome, I assure you
QUOTE
While sloppy writing does not invariably mean sloppy thinking, we've generally found the correlation to be strong -- and we have no use for sloppy thinkers. If you can't yet write competently, learn to. - Eric Raymond

---
My awards for being so awesome
Spoiler:
Go to the top of the page
 
+Quote Post
   
GrandmaDeb
post Jan 8 2009, 11:39 AM
Post #2


Retired
Group Icon


Type: Undisclosed
Alignment: Unaligned




Is the Airship the tile?

/me is unclear...


--------------------
Go to the top of the page
 
+Quote Post
   
BigEd781
post Jan 8 2009, 06:18 PM
Post #3


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


Type: Coder
Alignment: Chaotic Good




QUOTE (GrandmaDeb @ Jan 8 2009, 03:57 AM) *
Is the Airship the tile?

/me is unclear...


lol, no, the smiley face is. The hidden window class is responsible for drawing the windowskin image around a window. It takes a small image (64x64) and stretches it to fit the window. This doe snot work well if you want your windowskin to be tiled, so this gives you that option. It also gives you the source code for a hidden rgss2 class.


--------------------
My blog - It's awesome, I assure you
QUOTE
While sloppy writing does not invariably mean sloppy thinking, we've generally found the correlation to be strong -- and we have no use for sloppy thinkers. If you can't yet write competently, learn to. - Eric Raymond

---
My awards for being so awesome
Spoiler:
Go to the top of the page
 
+Quote Post
   
Dr. Sasquatchula
post Jan 8 2009, 07:06 PM
Post #4


of "The PSI Kicks" fame... so yeah... not famous
Group Icon


Type: Designer




So basically you could have a 64x64 px picture of some kind of repeating texture and make it tiled throughout the window in order to make a cool background? That seems like the main function from what you said (I don't know any scripting). Am I right in that?

If that is the case, then are you not able to make a background texture for the window by any other means, are you only able to use one 64x64 picture? That seems odd to me considering the window is obviously much larger than that.

I can say only good job for finding the code and making it more efficient. I don't know exactly all that went into this, scripting is still over my head tongue.gif
Go to the top of the page
 
+Quote Post
   
BigEd781
post Jan 8 2009, 07:14 PM
Post #5


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


Type: Coder
Alignment: Chaotic Good




QUOTE (Dr. Sasquatchula @ Jan 8 2009, 11:24 AM) *
So basically you could have a 64x64 px picture of some kind of repeating texture and make it tiled throughout the window in order to make a cool background? That seems like the main function from what you said (I don't know any scripting). Am I right in that?

If that is the case, then are you not able to make a background texture for the window by any other means, are you only able to use one 64x64 picture? That seems odd to me considering the window is obviously much larger than that.

I can say only good job for finding the code and making it more efficient. I don't know exactly all that went into this, scripting is still over my head tongue.gif


Exactly. There is nothing wrong with using a 64x64 image because it is tiled. That is the whole point of a tiled image. You take a smaller image and repeat it across the entire background. This is really best used by people who know at least a little ruby.


--------------------
My blog - It's awesome, I assure you
QUOTE
While sloppy writing does not invariably mean sloppy thinking, we've generally found the correlation to be strong -- and we have no use for sloppy thinkers. If you can't yet write competently, learn to. - Eric Raymond

---
My awards for being so awesome
Spoiler:
Go to the top of the page
 
+Quote Post
   
tippy
post Dec 15 2009, 11:38 PM
Post #6



Group Icon


Type: Undisclosed




This is not compatable with any scripts that add another Menu Command...
Go to the top of the page
 
+Quote Post
   
BigEd781
post Dec 15 2009, 11:44 PM
Post #7


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


Type: Coder
Alignment: Chaotic Good




QUOTE (tippy @ Dec 15 2009, 03:38 PM) *
This is not compatable with any scripts that add another Menu Command...


That is not true at all, this script has nothing to do with menu commands or menus in general, aside from the fact that they use windows.


--------------------
My blog - It's awesome, I assure you
QUOTE
While sloppy writing does not invariably mean sloppy thinking, we've generally found the correlation to be strong -- and we have no use for sloppy thinkers. If you can't yet write competently, learn to. - Eric Raymond

---
My awards for being so awesome
Spoiler:
Go to the top of the page
 
+Quote Post
   
Jet
post Dec 17 2009, 08:37 PM
Post #8


He Who Jets
Group Icon


Type: Coder
Alignment: Lawful Neutral




Well since this was brought back anyways...

Thanks BigEd, access to the window class has really helped me learn some more of RGSS2 and ruby. I don't use the tiled background but just the window class is a great help.


--------------------
Go to the top of the page
 
+Quote Post
   
Alby-chan
post Sep 7 2010, 09:45 PM
Post #9



Group Icon


Type: Writer




I must be stupid or something, because I'm not seeing where you change the value to false to enable the tile to occur.
Go to the top of the page
 
+Quote Post
   
BigEd781
post Sep 7 2010, 10:14 PM
Post #10


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


Type: Coder
Alignment: Chaotic Good




Line 137


--------------------
My blog - It's awesome, I assure you
QUOTE
While sloppy writing does not invariably mean sloppy thinking, we've generally found the correlation to be strong -- and we have no use for sloppy thinkers. If you can't yet write competently, learn to. - Eric Raymond

---
My awards for being so awesome
Spoiler:
Go to the top of the page
 
+Quote Post
   
Sir Eagle
post Dec 14 2010, 03:35 PM
Post #11


He knows what to do with chicken.
Group Icon


Type: Spriter
Alignment: Chaotic Good




I have NO knowledge in scripting at ALL

How exactly use this script, and how do you define the repeating tile exactly?


--------------------
My Games & Resources
Spoiler:


Personal Project: Game-ification of SapphireLibra3's fanfiction.
I Support
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: 18th April 2014 - 08:52 PM

RPGMakerVX.net is an Privacy Policy, Legal.