Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Save variables and data to files simply and quickly.
BUEORM Data Base (BDB)
Español
¿Qué es BDB?
BDB (BUEORM Data Base) es un sistema de persistencia de datos diseñado para desarrolladores que buscan simplicidad absoluta. Olvídate de gestionar diccionarios complejos o convertir tipos de datos manualmente. Con BDB, guardas tus variables tal cual existen en tu script y las recuperas de la misma forma.
¿Por qué usar este plugin y no hacerlo a mano?
- Inyección Directa: El sistema usa
selfpara leer y escribir variables directamente en tus objetos. - Auto-Tipado: Si guardas un número, recuperas un número. Si guardas un booleano, recuperas un booleano. Sin
to_int()ostr_to_var()manuales. - Gestión de Errores: Incluye un sistema de valores por defecto (Default values) para que tu juego nunca se rompa si falta un archivo.
- Formato Ligero: El formato
.bdbes texto plano estructurado, fácil de leer y depurar.
Instalación
- Descarga el plugin desde la Godot Asset Library o copia la carpeta
addons/bdb_systemen tu proyecto. - Ve a Proyecto > Configuración del Proyecto > Plugins y activa BUEORM Data Base.
- El sistema se registrará automáticamente como un Singleton llamado
BDB.
Casos de Uso
1. Guardar y Cargar Ajustes de Juego
Ideal para volumen, sensibilidad o modo de pantalla.
var volumen = 80
var pantalla_completa = false
func aplicar_ajustes():
# Carga variables y si no existen usa los valores por defecto
BDB.load_(self, "config.bdb", {"volumen": 100, "pantalla_completa": true})
func guardar_ajustes():
BDB.save_(self, "config.bdb", ["volumen", "pantalla_completa"])
2. Sistema de Guardado (Savegames)
Puedes guardar el progreso del jugador en una sola línea.
var nivel_actual = 1
var puntos = 0
var nombre_jugador = "Heroe"
func guardar_partida():
BDB.save_(self, "partida_1.bdb", ["nivel_actual", "puntos", "nombre_jugador"])
English
What is BDB?
BDB (BUEORM Data Base) is a data persistence system designed for developers seeking absolute simplicity. Forget about managing complex dictionaries or manually converting data types. With BDB, you save your variables exactly as they exist in your script and retrieve them the same way.
Why use this plugin instead of doing it manually?
- Direct Injection: The system uses
selfto read and write variables directly into your objects. - Auto-Typing: If you save a number, you get a number back. If you save a boolean, you get a boolean. No manual
to_int()orstr_to_var()required. - Error Handling: Includes a default values system so your game never crashes if a file is missing.
- Lightweight Format: The
.bdbformat is structured plain text, easy to read and debug.
Installation
- Download the plugin from the Godot Asset Library or copy the
addons/bdb_systemfolder into your project. - Go to Project > Project Settings > Plugins and enable BUEORM Data Base.
- The system will automatically register as a Singleton named
BDB.
Use Cases
1. Saving and Loading Game Settings
Perfect for volume, sensitivity, or screen modes.
var volume = 80
var full_screen = false
func apply_settings():
# Load variables and use defaults if the file doesn't exist
BDB.load_(self, "settings.bdb", {"volume": 100, "full_screen": true})
func save_settings():
BDB.save_(self, "settings.bdb", ["volume", "full_screen"])
2. Savegame System
Save player progress in a single line of code.
var current_level = 1
var score = 0
var player_name = "Hero"
func save_game():
BDB.save_(self, "save_01.bdb", ["current_level", "score", "player_name"])
License
Distributed under the MIT License. See LICENSE for more information.
Save variables and data to files simply and quickly.
Reviews
Quick Information
Save variables and data to files simply and quickly.