Anyone know?
How do I only have new game and exit on the title screen?
RGSSx Script SupportYou posted this in the wrong spot but here is the answer to your question.
Code:
#==============================================================================# ** Window_TitleCommand#------------------------------------------------------------------------------# This window is for selecting New Game/Continue on the title screen.#==============================================================================class Window_TitleCommand < Window_Command #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize super(0, 0) update_placement select_symbol(:continue) if continue_enabled self.openness = 0 open end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width return 160 end #-------------------------------------------------------------------------- # * Update Window Position #-------------------------------------------------------------------------- def update_placement self.x = (Graphics.width - width) / 2 self.y = (Graphics.height * 1.6 - height) / 2 end #-------------------------------------------------------------------------- # * Create Command List #-------------------------------------------------------------------------- def make_command_list add_command(Vocab::new_game, :new_game) add_command(Vocab::continue, :continue, continue_enabled) <---------- Remove this line from Window_TitleCommand it should be line 36 or so. add_command(Vocab::shutdown, :shutdown) end #-------------------------------------------------------------------------- # * Get Activation State of Continue #-------------------------------------------------------------------------- def continue_enabled DataManager.save_file_exists? endend
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-only-have-new-game-and-exit-on-the-title-screen.17504/