GStorage for Godot 4
by Ultradeviant
9
GStorage for Godot 4
š Lightweight key-value storage system for Godot, inspired by UserDefaults
in Swift
š„ Features
ā
Fast read/write operations
ā
Automatic file storage in user://
ā
Easy API with per-container initialization
š Installation
- Download via Godot Asset Library
- Or install manually:
- Clone this repository or download it as a ZIP.
- Move the
addons/gstorage/
folder to your Godot project. - Enable the plugin in
Project Settings -> Plugins
.
š® Usage Example
var storage = GStorage.create("settings")
# Store values
storage.set_value("music_volume", 0.8)
storage.set_value("username", "Player123")
# Read values
var volume = storage.get_value("music_volume", 1.0) # where 1.0 is the default value
var username = storage.get_value("username", "Guest")
# Remove values
storage.remove_value("username")
# Clear values
storage.clear()
Download
Version1.2.1
Download Now
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author