Save System Template (Godot 4)
A downloadable template
Info
This is a game-ready save system template you can use in your Godot 4 game! It has all the important features, you'd expect it to have:
- Thumbnails for your save files! Use in-game screenshots as a preview when selecting a save file. Players will have a much easier time finding the proper file to load.
- Easy saving and loading from file of your game relevant data
- Uses binary save files to reduce overall size and making save file manipulation harder for average player
Licence
You are allowed to use this template for free and commercial projects made with Godot Engine.
You are NOT allowed to redistribute the files of this template or their contents.
The template was made and released by Martin Senges.
You are NOT allowed to claim authorship of the files provided in this template or the template itself.
In no event shall the author of the template be liable for any claim, damages or other liability, arising from the inclusion of the template in a project or it's actual use.
Install
After downloading the zip, extract it into your Godot 4 project directory and open said project in Godot 4.
That's it! You can test the template by starting game.tscn in the Godot 4 editor.
Status | Released |
Category | Assets |
Author | Martin Senges |
Made with | Godot |
Tags | Indie, Minimalist, project-template, sourcecode |
Purchase
In order to download this template you must purchase it at or above the minimum price of $7 USD. You will get access to the following files:
Development log
- Update for game release builds84 days ago
- Updated the project to Godot version 4.2Feb 28, 2024
- Release!Jan 21, 2023
Comments
Log in with itch.io to leave a comment.
Possibly the answer is simple, but I am really a beginner in Godot (4.2 stable). Got the pack, and when running the scene I got some errors that required changing func names in order to make it start. But then, when it worked I saw the log ...
--- Debug adapter server started ---
--- GDScript language server started on port 6005 ---
Attempt to open script 'res://addons/save_system/save_system.gd' resulted in error 'File not found'.
Failed loading resource: res://addons/save_system/save_system.gd. Make sure resources have been imported by opening the project in the editor at least once.
Can't autoload: res://addons/save_system/save_system.gd.
editor/editor_autoload_settings.cpp:551 - Condition "!info->node" is true. Continuing.
It is missing the autoload file too. My interest was for saving the player's location ... and I am not able to simply make the save.
Any advise will be greatly appreciated.
Hi thanks for the comment. Indeed there was a problem with the template itself. While it did work fine on the original release of Godot 4.x, recent changes in the engine added some minor incompatibilities. These are fixed now, so just download the source code again. Thanks for pointing this out.
However keep in mind that the template expects to be installed in the root directory of your project. So if you want to put it in the subdirectory "addons", some paths in the scripts need to change as well. This isn't really complicated. Just open each file once in the editor by double clicking and you should see some kind of error regarding missing files or paths. If you don't the file should be ok as is.
Awesome, thanks for the quick response and the flawless solution. Looking forward to any of your future releases (if related with 3d scenarios ... better).
This looks interesting. Does this save the entire state of the game or only the player position?
It saves modification time, the thumbnail image data and the player position. I don't want to provide a bloated solution that just saves everything there is. Instead, you can edit the save_data.gd file to include whatever game-specific stuff you want to get saved. Then in save_manager.gd you can edit the methods save_game() and load_game() accordingly.
Will it work for Godot 4.1?
As far as I know it should. If not just let me know here and I'll update.