Publisher
shargon
Save and Load Template
Upon running this template in Godot. You will be greeted with a Main Menu Screen. Exit Game, of course, exits the game. New Game will take you to a blank screen which is where your game would go. Hit the esc key to bring up the pause menu.
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
GODOT SAVE AND LOAD SYSTEM
This template provides a basic menu with a functioning save and load system.
Getting Started
- Clone the Repo
- Open in Godot
Using In Existing Projects
Copy the assets and src folder into your project(make sure you copy the LICENSE.txt as well)
Usage
Main Menu
Upon running this template in Godot. You will be greeted with a Main Menu Screen.
Exit Game, of course, exits the game.
New Game will take you to a blank screen which is where your game would go. Hit the esc key to bring up the pause menu.
Pause Menu
Each of the buttons do the following:
ContinueReturns to the current gameSaveBrings up the Save ScreenLoadBrings up the Load Screen (looks the exact same as the save screen)Title MenuReturns toMain MenuScreenExit GameExits the game.
Save Menu
- Clicking on any slot will activate the
SaveButton. - If you clicked on
New Slotthen clicked theSavebutton you will prompted to enter your save file name. - If you clicked on a save file that already exists then clicked the
Savebutton it will save data to that slot. - If you clicked on a save file that already exists the
DeleteButton will also activate allowing you to delete the save file. - The
Backbutton returns to the previous menu.
Load Menu
Looks exactly like the Save Menu sans the New Slot and subbing the Load for the Save Button. Clicking any slot then clicking Load will load the file.
Examples
Main Menu:

Pause Menu:

Save Menu:

Running Unit/Integration Tests
- Install GUT Command Line
- Set the
gutalias detailed in the instructions above - open you terminal
- run
gut
NOTE: Some tests are failing when using WSL. These tests are confirmed to work on both Linux and Mac.
Contributing
- Fork The Repo
- Make Changes
- Add Unit and Integration Tests
- Submit PR
NOTE: PRs will not be reviewed until all tests are passing.
References
The save system is a heavily modified version of the Godot Infinite Save and Load System
Icon provided by Gobusto at https://opengameart.org/content/floppy-disk