Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Rpgmaker VX

Clad

Member

Hi,
I was wondering if there is a way to bypass the default title screen in Rpgmaker VX and make the game load directly in a map instead?

Thanks for your help!!
 
It should work.
If there is any savefile, it will load it.

Code:
class Scene_Title

  alias old_main main

  def main

    old_main unless new_main

  end

  def new_main

    dir = Dir.glob('Save*.rvdata')

    if dir != []

      load_database

      create_game_objects

      file = File.open(dir[0], "rb")

      Scene_File.new(false, true, false).read_save_data(file)

      file.close

      $scene = Scene_Map.new

      Graphics.frame_count = 0

      $game_map.autoplay

      return true

    else

      return false

    end

  end

end
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top