V1.5.0 Released - Documentation! New Demo... Again!
SSave » Devlog
Hello - it's been a while, but I have returned from the void with a juicy update!
- Created documentation of the entire package, along with code snippets and examples.
- View the documentation here!
- A brand new demo, because apparently the new demo which was supposed to be clearer... was not clearer. I guess I suck at making demos!
- Added reset() and reset_all() functions to the SSave class which resets a value (or all) back to it's default.
- Added erase() function to the SSave class, which deletes the file from disk if it exists.
- Added ssave_erase() function for use with SSaveManager which deletes the file from disk if it exists.
- Added get_default() function to the SSave class, which retrieves the default value.
- Fixed all feather warnings and suggestions.
- Added a new config value: SSAVE_ERROR_ON_SET_INVALID_TYPE. By default, this is enabled.
- For example, if you have a string value and try to write an array to it, you'll get an error instead of the old printed message.
- Added get_all() function to SSaveManager, and ssave_get_all() is now a wrapper of it.
- Previously, you could only get all when using the automated SSAVE_USE_MANAGER functions, now it's directly usable within the class.
- When loading a file, set_protection() is now automatically called with whatever was stored in the header.
- Fixed an oversight where custom errors could cause the game to crash when saving/loading.
- Thank you @tthrelfo for reporting this!
- Fixed an oversight where enum values (specifically int32/int64 values) were not being considered when validating SSAVE_TYPE.REAL values.
- Thank you @rbarbosa95 for reporting this!
- Fixed an oversight where set_file_prefix() did not return itself for chaining.
- Updated some existing JSDoc, added in missing documentation, and fixed some value types being input incorrectly.
- Updated various comments and error messages for improved clarity.
P.S. - Thank you all for using SSave!! I'm really happy a lot of people have been enjoying it, and to see games be released using it. It's been a little while since the last update, but I'm hoping to tie up some loose ends and get as many issues squashed as I can. The most important of all those was definitely the lack of documentation; it's a nice weight off my shoulders to get this update out there. See you in the next!
Files
ssave-1-5-0.yymps 103 kB
1 day ago
Get SSave
Download NowName your own price
SSave
A simple save file system for GameMaker
Status | Released |
Category | Assets |
Author | stoozey_ |
Tags | Asset Pack, encryption, GameMaker, package, save, save-file, save-system, saving, stoozey |
More posts
- V1.4.0 Released - New Demo!Aug 10, 2023
- V1.3.3 ReleasedJul 30, 2023
- V1.3.2 ReleasedJul 17, 2023
- V1.3.1 ReleasedJul 10, 2023
- V1.3.0 Released - Built-in Manager!Jul 07, 2023
- V1.2.0 Released - Buffer Support!Jan 27, 2023
- V1.1.2 ReleasedOct 22, 2022
- V1.1.1 ReleasedOct 16, 2022
- V1.0.1 ReleasedOct 15, 2022
Leave a comment
Log in with itch.io to leave a comment.