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.

An auto save based script with possible log in screen

I was wondering if anyone has or could make a script for me that would change it so the game automatically saves and has a log in screen like on mmorpgs.
 
Quick Auto-save
Code:
class Scene_Map
  Autosave_Frame_Count = 200
  Autosave_File_Index = 3
  alias seph_autosave_scnmap_update update
  def update
     seph_autosave_scnmap_update
     if Graphics.frame_count % Autosave_Frame_Count == 0
       save = Scene_Save.new
       save.on_decision(Scene_File.new.make_filename(Autosave_File_Index))
       save = nil
    end
  end
end

Just copy and paste below Scene_Map and change your Autosave_Frame_Count and Autosave_File_Index constants.
 

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