#=========[ Custom Window ]=====================================================#-----------< Change position, opacity and font >-------------------------------CUSTOM_WINDOW_POSITION_X = 40CUSTOM_WINDOW_POSITION_Y = 215CUSTOM_WINDOW_WIDTH = 400CUSTOM_WINDOW_HEIGHT = 200CUSTOM_WINDOW_OPACITY = 50 #---------< Initialize >--------------------------------------------------------class Window_CustomWindow < Window_Base def initialize(x, y) super(x, y, CUSTOM_WINDOW_WIDTH, CUSTOM_WINDOW_HEIGHT) self.opacity = CUSTOM_WINDOW_OPACITY refresh end #-------< Draw Content >------------------------------------------------------ def refresh self.contents.clear #The you can put stuff (Text, Icons etc.) self.contents.font.color = Color.new(25,125,255) # Change text below to blueish self.contents.draw_text(50, 0, 300, 24, "Hello in blue color", 0) # draw text self.contents.font.color = normal_color # change color back to normal self.contents.draw_text(0, 50, 50, 24, "#{$game_party.gold}", 2) #draw current gold value draw_icon(5, 200, 50) # draw some icon end # Refreshend # class #---------< Create window >---------------------------------------------------#~ e.g. class Scene_Menu < Scene_MenuBase # This would draw that window in menu class Scene_Item < Scene_ItemBase # This will draw window in Item Scene # You can change that to scene, where you want to put that window in. # Take a look on default Scene scripts to see the classes etc. #---------< Start >--------------------------------------------------------- alias customwindow_start start def start customwindow_start create_customwindow_window end #---------< Create >-------------------------------------------------------- def create_customwindow_window @customwindow_window = Window_CustomWindow.new( CUSTOM_WINDOW_POSITION_X, CUSTOM_WINDOW_POSITION_Y) end end#=========[ END ]===============================================================