RPG Maker Forums

Made for a request here.

This script allows the player to start a new game inside a Load Scene.



Features:

Able to start new game in load scene

How to Use:

[1] Paste this script below Material and Above Main

[2] Change the "Start New Game" text in the script's setting area to whatever you like.

Compatibility:

This script is using overwrite method on file scene, load scene and save window. If you have other scripts that modifies how save/load is displayed, there may be a conflict.

Terms of Use:

Free for both Commercial and Non-commercial

Script:

Code:
#==============================================================================# ■ Meow Face Start New Game in Load Scene#------------------------------------------------------------------------------# Able to Start a New Game in Load Scene#==============================================================================# How to Use:# [1] Paste This script Below Material and Above Main#==============================================================================module MEOWLOADSTART#==============================================================================# Settings Area#==============================================================================  NEWGAME = "START NEW GAME" #Display Name for Start New Game in Load Scene#==============================================================================# End of Settings Area# Edit anything past this line at your own risk!#==============================================================================endclass Window_SaveFile < Window_Base  def initialize(height, index) #Overwrite    if SceneManager.scene_is?(Scene_Load)      super(0, (index+1) * height, Graphics.width, height)    else      super(0, index * height, Graphics.width, height)    end    @file_index = index    refresh    @selected = false  endendclass Window_StartNewGame < Window_Base  attr_reader   :selected  def initialize(height)    super(0, 0, Graphics.width, height)    @file_index = 0    refresh    @selected = false  end  def refresh    contents.clear    change_color(normal_color)    draw_text(6, line_height, 160, line_height, MEOWLOADSTART::NEWGAME)  end  def selected=(selected)    @selected = selected    update_cursor  end  def update_cursor    if @selected      cursor_rect.set(0, line_height, 160, line_height)    else      cursor_rect.empty    end  endendclass Scene_File < Scene_MenuBase  def create_savefile_windows #Overwrite    @savefile_windows = Array.new(item_max) do |i|      Window_SaveFile.new(savefile_height, i)    end    if SceneManager.scene_is?(Scene_Load)      @savefile_windows.unshift(Window_StartNewGame.new(savefile_height))    end    @savefile_windows.each {|window| window.viewport = @savefile_viewport }  endendclass Scene_Load < Scene_File  def first_savefile_index #Overwrite    DataManager.latest_savefile_index + 1  end  def on_savefile_ok #Overwrite    if @index == 0      start_new_game    else      super      if DataManager.load_game(@index-1)        on_load_success      else        Sound.play_buzzer      end    end  end  def start_new_game    Sound.play_ok    DataManager.setup_new_game    fadeout_all    $game_map.autoplay    SceneManager.goto(Scene_Map)  endend

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top