Save and Load Template

An asset by Shargon
The page banner background of a mountain and forest
Save and Load Template hero image

Quick Information

0 ratings
Save and Load Template icon image
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.

Supported Engine Version
3.4
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

GODOT SAVE AND LOAD SYSTEM

This template provides a basic menu with a functioning save and load system.

Getting Started

  1. Clone the Repo
  2. 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

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:

  • Continue Returns to the current game
  • Save Brings up the Save Screen
  • Load Brings up the Load Screen (looks the exact same as the save screen)
  • Title Menu Returns to Main Menu Screen
  • Exit Game Exits the game.

Save Menu

  • Clicking on any slot will activate the Save Button.
  • If you clicked on New Slot then clicked the Save button you will prompted to enter your save file name.
  • If you clicked on a save file that already exists then clicked the Save button it will save data to that slot.
  • If you clicked on a save file that already exists the Delete Button will also activate allowing you to delete the save file.
  • The Back button 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

README Main Menu

Pause Menu:

README Pause Menu

Save Menu:

README Save Menu

Running Unit/Integration Tests

  1. Install GUT Command Line
  2. Set the gut alias detailed in the instructions above
  3. open you terminal
  4. run gut

NOTE: Some tests are failing when using WSL. These tests are confirmed to work on both Linux and Mac.

Contributing

  1. Fork The Repo
  2. Make Changes
  3. Add Unit and Integration Tests
  4. 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

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.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Save and Load Template icon image
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.

Supported Engine Version
3.4
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers