Skip to content

Releases: JujuAdams/db

2.2.0 (beta)

19 Jan 15:03

Choose a tag to compare

  • Updates supported GameMaker version to 2024.14
  • Lots more documentation
  • Renames db_save() and db_load() to db_debug_save() and db_debug_load() to better indicate their proper use. Please always use asynchronous save/load for your games for compatibility cross-platform!
  • By default, db_debug_save() and db_buffer_write() will now use GameMaker's native json_stringify() function when accurate floats aren't needed. This is faster and more forwards compatible with newer versions of GameMaker
  • Adds db_get_debug_string()
  • Adds db_buffer_create()
  • Adds db_patch() to merge JSON into a database
  • Can now set initial data when calling db_create()
  • Removes setChanged optional argument from db_set_raw_data(). Please call db_set_changed() manually
  • db_write() and db_read() can now access the root element directly
  • db_buffer_read() can now consume the input buffer
  • db_set_timestamp()'s value now defaults to the current (local) time
  • Fixes a crash in db_delete()
  • db_duplicate() now uses GameMaker's variable_clone() function
  • Improves is_db()
  • Adds support for asset references when saving data e.g. an object index will be appropriately converted to a handle. Handles are automatically unparsed when loading

1.0.0

17 Apr 17:17
323a7fc

Choose a tag to compare

Initial release