GStorage for Godot 4
U

Publisher

ultradeviant

GStorage for Godot 4

Tools
Storage KeyValue Fast API Settings UserDefaults Lightweight Configuration

Lightweight key-value storage system for Godot, inspired by UserDefaults in Swift.

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

  1. Download via Godot Asset Library
  2. 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()