HELP WITH TITLE MENU SCRIPTING?
Posts
Pages:
1
So what I want to do is change the color of the 'highlighter' of New Game and Load Game. I want to make it black, but am unsure of how to do that (that's just a temporary title screen). Also, how can I change the font color? Thanks guys!
Here's a screenshot: http://img841.imageshack.us/img841/7595/derpl.png
Here's a screenshot: http://img841.imageshack.us/img841/7595/derpl.png
You've got to change your windowskin's highlighter. The default has a little transparent blue box- use something like PS, GIMP or Paint.net to create a transparent highlighter in black.
I'm not sure about the text colours though.
I'm not sure about the text colours though.
Okay thanks, Krysty! I'm going back to RMXP and it's been about 6 months, so I have to relearn a lot of stuff.
To change the location of the title window, see lines 42, 43 in Scene_Title
To match the picture you reference, use:
@command_window.x = 640 - @command_window.width
@command_window.y = 270
To change the font color, you need to overwrite the refresh method in Window_Command. Paste this above main, name it Window_Title
Change the Color.new(255,0,0) to whatever color you want
Then also change line 40 in Scene_Title to:
@command_window = Window_Title.new(192, )
Note that the parent window (Window_Command) will still draw disabled items, like "Continue" or "New Game" grey until you save a game.
To match the picture you reference, use:
@command_window.x = 640 - @command_window.width
@command_window.y = 270
To change the font color, you need to overwrite the refresh method in Window_Command. Paste this above main, name it Window_Title
class Window_Title < Window_Command #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh self.contents.clear text_color = Color.new(255,0,0) for i in 0...@item_max draw_item(i, text_color) end end end
Change the Color.new(255,0,0) to whatever color you want
Then also change line 40 in Scene_Title to:
@command_window = Window_Title.new(192, )
Note that the parent window (Window_Command) will still draw disabled items, like "Continue" or "New Game" grey until you save a game.
Pages:
1
















