Hi guys, i want a script where in the title screen instead of having a list of commands (new game, continue, shutdown), you just push any button to proceed, but if you have saved at least one save file, it will open up a load file screen, otherwise it will skip to the game.
Title screen with save menu only
RGSS3 Script RequestsTry this:
Code:
#==============================================================================# ■ Meow Face Title Overwrite#------------------------------------------------------------------------------# Change the title to continue only#==============================================================================# How to Use:# [1] Put this script below Meow Face Tile Hue Script#==============================================================================class Window_TitleCommand < Window_Command def initialize super(0, 0) update_placement self.openness = 0 open end def make_command_list add_command(Vocab::continue, :continue) endendclass Scene_Title < Scene_Base def create_command_window @command_window = Window_TitleCommand.new @command_window.set_handler(:continue, method(:command_continue)) end def command_continue if DataManager.save_file_exists? close_command_window SceneManager.call(Scene_Load) else DataManager.setup_new_game close_command_window fadeout_all $game_map.autoplay SceneManager.goto(Scene_Map) end endend
This script works, but how do i make the "continue" command invisible?
Also, i can't even start a new game. :|
If you have no save files, it will start a new game when you press continue.
Well, if i have one save file i can't do a new game when i want to. :|
That's what you asked for in the top post.
Actually, i was wrong...
If you want it to be a little more "pretty", this one is designed to look like one of those old school famicom's game.
[IMG]http://s28.postimg.org/q8ibuz9fx/pressentertostart.png[/IMG]
Script:
[IMG]http://s28.postimg.org/q8ibuz9fx/pressentertostart.png[/IMG]
Script:
Code:
#==============================================================================# ■ Meow Face Title Overwrite#------------------------------------------------------------------------------# Change the title to continue only#==============================================================================# How to Use:# [1] Put this script below Meow Face Tile Hue Script#==============================================================================module MEOWSTART # Do Not Remove!#==============================================================================# Settings Area#============================================================================== START_TEXT = "Press ENTER" #change this to any Text you like#==============================================================================# End of Settings Area# Edit anything past this line at your own risk!#==============================================================================endclass Window_TitleCommand < Window_Command def initialize super(0, 0) update_placement self.openness = 0 @cursor_fix = true @cursor_all = true open end def alignment return 1 end def line_height return 1 end def window_width return Graphics.width end def make_command_list add_command("", :continue) endendclass Scene_Title < Scene_Base def create_command_window @command_window = Window_TitleCommand.new @command_window.opacity = 0 @meowpos = (Graphics.height / 4) * 3 @command_window.y = @meowpos @command_window.set_handler(:continue, method(:command_continue)) draw_continue end def create_foreground @foreground_sprite = Sprite.new @foreground_sprite.bitmap = Bitmap.new(Graphics.width, Graphics.height) @foreground_sprite.z = 100 draw_game_title if $data_system.opt_draw_title end def draw_continue @continue_sprite = Sprite.new @continue_sprite.bitmap = Bitmap.new(Graphics.width, Graphics.height) @continue_sprite.z = 100 @continue_sprite.bitmap.font.size = 32 rect = Rect.new(0, @meowpos-108, Graphics.width, Graphics.height / 2) @continue_sprite.bitmap.draw_text(rect, MEOWSTART::START_TEXT, 1) end def dispose_foreground @foreground_sprite.bitmap.dispose @foreground_sprite.dispose @continue_sprite.bitmap.dispose @continue_sprite.dispose end def command_continue if DataManager.save_file_exists? close_command_window SceneManager.call(Scene_Load) else DataManager.setup_new_game close_command_window fadeout_all $game_map.autoplay SceneManager.goto(Scene_Map) end endend
This is what i've been looking for, i've managed to edit the main scripts to include only one save file, thanks by the way.
You're welcome!
Original thread: https://forums.rpgmakerweb.com/threads/title-screen-with-save-menu-only.46985/