[RMVX] SCRIPT REQUEST, PLAYTIME WINDOWN ON MENU.
Posts
Pages:
1
Hello everyone.
I'm not a scripter, maybe this is easy to do, I don't know, anyway here is the issue...
I need a playtime window to be on the menu, something like Pacman (I believe it was him) did to display the map on menu:
I think I could do the job to re-locate or move the window inside the menu. Maybe...
So... is there anyone out there who wants to help me with that? I'll really apprecciate it, thanks!
I'm not a scripter, maybe this is easy to do, I don't know, anyway here is the issue...
I need a playtime window to be on the menu, something like Pacman (I believe it was him) did to display the map on menu:
#==============================================================================
# ** Window_Location
#------------------------------------------------------------------------------
# This window displays the location of the current actor.
#==============================================================================
class Window_Location < Window_Base
#--------------------------------------------------------------------------
# * Object Initialization
# x : window X coordinate
# y : window Y coordinate
#--------------------------------------------------------------------------
def initialize(x, y)
super(x, y, 163, WLH + 32)
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
draw_icon(0, 0, 0)
text = load_data("Data/MapInfos.rvdata")[$game_map.map_id].name
self.contents.draw_text(-1, 0, 138, WLH, text, 100)
end
end
#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
# This class performs the menu screen processing.
#==============================================================================
class Scene_Menu < Scene_Base
#--------------------------------------------------------------------------
# alias listing
#--------------------------------------------------------------------------
alias map_name_menu_start start
alias map_name_menu_terminate terminate
alias map_name_menu_update update
#--------------------------------------------------------------------------
# * Start Processing
#--------------------------------------------------------------------------
def start
map_name_menu_start
@map_window = Window_Location.new(0, 304)
end
#--------------------------------------------------------------------------
# * Terminate Scene
#--------------------------------------------------------------------------
def terminate
map_name_menu_terminate
@map_window.dispose
end
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
map_name_menu_update
@map_window.update
end
end
I think I could do the job to re-locate or move the window inside the menu. Maybe...
So... is there anyone out there who wants to help me with that? I'll really apprecciate it, thanks!
Pages:
1