Better Way to Save Data in File | Godot 4 @16bitdev
Better Way to Save Data in File | Godot 4  @16bitdev
Uploaded May 2025 | Updated September 2026, 4 days ago
The better way to Save Data is to store the resource_path instead of the instance data of the Custom Resource you are trying to save. This will avoid Duplication issues, and loading with the path will just re-use the instance that's already been initialised.

- Related Videos -
Farming Game - youtube.com/playlist?list=PLDvxSFN380vDtBE4J3ITEhwKpoA_qbgDd

- Timestamps -

0:00 - What to Avoid
0:40 - Saving System Explanation
1:01 - SaveData Class
1:24 - Save System
4:02 - Implementing save_data & load_data function
11:12 - Thanks!


- Code -
SaveSystem - pastebin.com/RSdN5se6
Player - pastebin.com/PPbCdqRc
Inventory - pastebin.com/a7Dif7xF
ChestSystem - pastebin.com/a3aF8s6S
Tile - pastebin.com/r7DjuuXX
Cooking/Crafting - pastebin.com/DRgEUDB2

- Patreon -
patreon.com/16BitDev

- Discord -
discord.com/invite/AYv8FRz5ag
Better Way to Save Data in File | Godot 4Item System using Custom Resources - Godot 4API calls in Godot 4 under 4 minutesChaining Skill - RPG System Design in Godot 4Roguelike Mechanic in Godot 4 - Level & Weapon UpgradeLets Make a Rogue-like (Vampire Survivor) in Godot 4EVERYTHING about Input Handling in Godot 4Charged Attack - RPG System Design in Godot 4Dynamic Chest Storage System - Godot 4Action Bar - Godot 4Day & Night Cycle - RPG System Design in Godot 4Dismember effect in Godot for 2D games (in 5 minutes)
16BitDev |

Better Way to Save Data in File | Godot 4

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER