Has anyone used Inslity/defold-saver here. i would like to use it as it seems fairly simple and robust but when i add it to a project as a dependency and fetch librarys nothing changes. Is it just broken or am i doing something wrong. If it is broken are there any good alternatives. Thanks
Here is a simplest example of using Saver:
test_saver.zip (7.3 KB)
- You need to add a dependency: https://github.com/Insality/defold-saver/archive/refs/tags/1.zip
- Press Fetch Libraries
- In your code call
saver.init()
- Bind your lua tables to keep them persistent (see example or github readme)
Thanks. I think i just wasnt kalling it in my code. But i the ‘saver’ module naver apeared in game.project like it says in the read me. has that been removed or is that something differant.
You should check that project dependencies in game.project
filled correctly and saved. Now you can compare with the example to see the difference and find your settings mismatch
Ok thanks
After changing dependencies in editor, you need to choose ”Fetch dependencies ” from the menu.
I did that but nothing changed. I also tried fully relaunching the editor, but i think i just might have done something to the link. I let you know if i run into any more errors.