Build a COMPLETE Save & Load System | Godot 4 Tutorial
Project Files on Patreon: https://www.patreon.com/posts/save-load-godot-152841507 Join the Discord: https://discord.gg/a45623zpaf Check out my games: https://store.steampowered.com/developer/rembot Follow me on Twitch: https://www.twitch.tv/rembotgames Follow me on Itch: https://rembotgames.itch.io/ Follow me on X: https://x.com/RembotGames In this tutorial we build a complete save & load system in Godot from scratch. We create a global Game Manager script to persist variables across scenes, define a Save Game resource structure, and use ResourceSaver/ResourceLoader to serialize data to a .res file on disk. We then expand the system by adding a second variable (sun color) to show how easy it is to save more game state. Save games are stored in the "user" folder for the game which can be found here: %appdata%/Roaming/Godot/app_userdata/[GAME_NAME] 0:00 - Intro 0:28 - Global Game Manager Script 1:42 - Save Game Resource Structure 2:25 - Save & Load Functions 3:51 - Save Button Signal 4:35 - Serializing to .res File 6:13 - Load Game Function 7:44 - Testing Save & Load 8:13 - Adding Sun Color Variable 9:39 - Saving & Loading Sun Color Support me directly on Patreon for $5/month 🥰 insaneo style value #godot #gamedev #tutorial #godotengine #indiedev #godot4 #godottutorial #gamedesign
Download
0 formatsNo download links available.