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
> A question for scripters, About the gold window
jacoby_kid_08
post Aug 1 2011, 12:58 AM
Post #1


Level 2
Group Icon

Group: Member
Posts: 21
Type: None
RM Skill: Skilled




I've been using RMXP for about a decade now, but one thing has always bothered me in all the time I've used it. In the default script for the gold window, how come when you fix it up for the main menu, it messes up how it looks when you open the shop menu? I've looked everywhere I though I should for the cause, but found nothing. Any ideas where I should look and what I should do?


__________________________
~Tonight, tonight, he's gonna get it right. Even losers can get lucky sometimes. All the freaks go on a winning streak. In a perfect world, all the geeks get the girls.~
Go to the top of the page
 
+Quote Post
   
Ty
post Aug 1 2011, 01:08 AM
Post #2


Level 38
Group Icon

Group: +Gold Member
Posts: 1,007
Type: Scripter
RM Skill: Undisclosed




Both scenes rely on the same Window_Gold class to display the content of the 'Gold.' This is because there is no reason to have a duplicate class that is simply a copy/paste of the default Window_Gold class (Re-use code is good)


__________________________
My Script Demo link broken? Looking for old scripts? Go here:
http://synthesize.4shared.com
Go to the top of the page
 
+Quote Post
   
Redd
post Aug 1 2011, 07:11 AM
Post #3


:<
Group Icon

Group: Revolutionary
Posts: 2,314
Type: Developer
RM Skill: Advanced




Just what Ty said. Make a duplicate of Window_Gold that has the edit, but make sure that the class is something like Window_MenuGold instead of Window_Gold. Then go into Scene_Menu and change (at about line 54) Window_Gold to Window_MenuGold.

Moving to RGSS Script Support BTW.


__________________________
Go to the top of the page
 
+Quote Post
   
jacoby_kid_08
post Aug 2 2011, 01:28 AM
Post #4


Level 2
Group Icon

Group: Member
Posts: 21
Type: None
RM Skill: Skilled




Okay, I made a duplicate gold window and I liked the results I got. Thanks you two, you guys really know what you're talking about. I mean that. smile.gif


__________________________
~Tonight, tonight, he's gonna get it right. Even losers can get lucky sometimes. All the freaks go on a winning streak. In a perfect world, all the geeks get the girls.~
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: 24th May 2013 - 02:08 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker