[ENHANCEMENT] Add autosync between save files through Newgrounds - #7892
[ENHANCEMENT] Add autosync between save files through Newgrounds#7892MrMadera wants to merge 2 commits into
Conversation
d77d9f2 to
c2517bb
Compare
c2517bb to
151f54a
Compare
Created method to save files to newgrounds if autosync is enabled Saving to Newgrounds automatically if autosync is enabled Space on condition Saving song scores Since slots load async, wait until it finishes to autosync Better way to check outdated data Ensure save slot is not null Used thx to do content comparasion Update NewgroundsClient.hx Ok, this was a funny one Syntax fix + check if file is empty too Introduce trace into function since saving save files is async too I forgot this was an error too lol Sorry documentation, I deleted you somehow during rebase Left this as it used to be on preview/public-playtest Oh man this is going to cry :super_sob:
56b6049 to
96d13c9
Compare
|
This is kinda scary, what happens if the option is enabled but you aren't logged into Newgrounds? I'm just frightened of an edge case giving you a blank Save and then deleting your game data... |
|
Since I couldn't test this while I was coding it, I tried to cancel operations if save slots were null or empty (especially on |
…esFromNewgrounds`
401b06b to
2e7f104
Compare
fff3525 to
25ad66b
Compare
TechnikTil
left a comment
There was a problem hiding this comment.
As the "Newgrounds Save Slot Guy", I approve of this PR.
Funnily enough, I wanted to do this originally. I eventually decided not to do it though so I wouldn't clutter up the PR. (also laziness but shhhh)
|
Oh glad to get the approval of the Newgrounds Save Slot Guy :)) |
3f2fe37 to
a1fa227
Compare
Linked Issues
#7318
Description
This PR adds an autosync preference that when enabled, connects to Newgrounds to automatically download/upload save files and maintain them up to date.
Screenshots/Videos
cannot test myself since it is a newgrounds feature