#==============================================================================# ** Scene_Title#------------------------------------------------------------------------------# This class performs the title screen processing.#==============================================================================class Scene_Title < Scene_Base #-------------------------------------------------------------------------- # * Create Command Window #-------------------------------------------------------------------------- alias customscene_credits_create_command_window create_command_window #-------------------------------------------------------------------------- def create_command_window customscene_credits_create_command_window() #Call Original Method @command_window.set_handler

credits, method

command_credits)) end def command_credits SceneManager.call (Scene_Credits) endend#==============================================================================# ** Window_TitleCommand#------------------------------------------------------------------------------# This window is for selecting New Game/Continue on the title screen.#==============================================================================class Window_TitleCommand < Window_Command #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- alias customscene_credits_make_command_list make_command_list #-------------------------------------------------------------------------- def make_command_list customscene_credits_make_command_list() #Call Original Method add_command("Credits", :credits, true) end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width return 200 endend#==============================================================================# ** Window_CreditsMenu#------------------------------------------------------------------------------# This command window appears on the credits screen.#==============================================================================class Window_CreditsMenu < Window_Command #-------------------------------------------------------------------------- # * Initialize Command Selection Position (Class Method) #-------------------------------------------------------------------------- def self.init_command_position @@last_command_symbol = nil end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width return 160 end #-------------------------------------------------------------------------- # * Get Number of Lines to Show #-------------------------------------------------------------------------- def visible_line_number item_max end #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- def make_command_list add_main_commands add_original_commands end #-------------------------------------------------------------------------- # * Add Main Commands to List #-------------------------------------------------------------------------- def add_main_commands add_command("Graphics", :graphics, true) add_command("Audio", :audio) add_command("Scripts", :scripts) add_command("Other",

ther) end #-------------------------------------------------------------------------- # * For Adding Original Commands #-------------------------------------------------------------------------- def add_original_commands end #-------------------------------------------------------------------------- # * Processing When OK Button Is Pressed #-------------------------------------------------------------------------- def process_ok @@last_command_symbol = current_symbol super endend#==============================================================================# ** Scene_Credits#------------------------------------------------------------------------------# This is the Credits Scene.#==============================================================================class Scene_Credits < Scene_Base #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super() @Window_CreditsMenu = Window_CreditsMenu.new(x=0, y=71) end #-------------------------------------------------------------------------- # * Post-Start Processing #-------------------------------------------------------------------------- def post_start super() end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super() return_scene() if Input.trigger?

return_scene() if Input.trigger?

C) end #-------------------------------------------------------------------------- # * Pre-Termination Processing #-------------------------------------------------------------------------- def pre_terminate end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super() @Window_CreditsMenu.dispose() end end#==============================================================================# ** Window_TitleCommand#------------------------------------------------------------------------------# This window is for selecting New Game/Continue on the title screen.#==============================================================================class Window_Graphics < Window_Message #-------------------------------------------------------------------------- # * Start Processing #-------------------------------------------------------------------------- def start super() @Window_Graphics = Window_Graphics.new(100, 100) @credits_window = Window_Help.new() @text = "Test" end #-------------------------------------------------------------------------- # * Post-Start Processing #-------------------------------------------------------------------------- def post_start super() end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- def update super() @window_graphics.set_text(@text) return_scene() if Input.trigger?

return_scene() if Input.trigger?

C) end #-------------------------------------------------------------------------- # * Pre-Termination Processing #-------------------------------------------------------------------------- def pre_terminate end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super() @Window_Graphics.dispose() endend