Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jujuadams/db

Savedata database system for GameMaker
https://github.com/jujuadams/db

database gamemaker gamemaker-studio-2 gms2 json savedata

Last synced: 2 months ago
JSON representation

Savedata database system for GameMaker

Awesome Lists containing this project

README

        


db 1.0.0

Prototype savedata database system for GameMaker LTS 2022

 

 

- ### Got questions? [Make a new issue!](https://github.com/JujuAdams/db/issues/new)
- ### There is also a [Discord server](https://discord.gg/hwgWpnsNw2) (but GitHub issues are preferred)
- ### [Download the .yymps](https://github.com/JujuAdams/db/releases/)

 

`db_create()`

`db_duplicate(database)`

`is_db(value)`

`db_has_data(database)`

`db_write(database, value, key, ...)`

`db_read(database, default, key, ...)`

`db_delete(database, key, ...)`

`db_exists(database, key, ...)`

`db_clear(database)`

`db_save(database, database, [pretty=false], [accurateFloats=false])`

`db_load(filename)`

`db_buffer_write(buffer, database, [pretty=false], [accurateFloats=false])`

`db_buffer_read(buffer)`

`db_set_raw_data(database, data)`

`db_get_raw_data(database)`

`db_set_metadata(database, metadata)`

`db_get_metadata(database)`

`db_set_changed(database, state)`

`db_get_changed(database, [resetState=true])`

`db_set_timestamp(database, timestamp)`

`db_get_timestamp(database)`

`db_most_recent(arrayOfDatabases, [returnIndex=false])`

`db_sort_by_timestamp(arrayOfDatabases, mostRecent)`