
B
Publisher
beatrixassets
Addonsave (4.1)
Tools
Save Load Screenshot Persistence JSON Data Management Configuration
this is a fork of addon save for godot 3 make addonsave.gd autoload Project Settings -> Autoload -> Add The script Compatible with 4.2
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 - A simple save, load and screenshot plugin for Godot 4
Godot Save is an easy to use addon created to make saving and loading files easier in Godot 4.
Contributor Purna Shrestha
Inspired by PersistenceNode by MatiasVME and Godot-Screenshot-Queue by fractilegames, this addon is designed to bring elements of both systems into one while porting the functionality to Godot 4.
Usage
Saving
save_data(data: Dictionary, profile: String = "save", filetype: String = ".sav") -> void
var data = {"prop":[{"val1": true}, {"val2": false}]}
$Save.save_data(data,"filename",".json")
Loading / Editing
edit_data(profile: String = "save", filetype: String = ".sav") -> Dictionary
var player_data = $Save.edit_data("player_data",".json")
Deleting save data
remove_data(profile: String = "save", filetype: String = ".sav") -> void
$Save.remove_data("player_data",".json")
Taking Screenshots
snap_screenshot(viewport: Viewport) -> void
$Save.snap_screenshots(get_viewport())