Accessing savegame data properly

MuxuMuxu Posts: 4Member
edited June 16 in General Support

Hello all!

I'm a quote new hobby dev and am currently working on a json savegame implemention.

So far it works quite alright

Now I have the dictionary set up but having a problem with accessing the score properly.

Previously I had the score as a variable with a set get behind it.. sadly I'm not sure what that did but I can't do this in the dictionary, it doesn't take the server in the variable.

So now I can't show the current score while playing in the UI.

My thought was to do the score separately while playing and only putting it into the savegame variable wehen saving.. but I'm not sure if that's the proper way or if there is a better way

I'd really appreciate some input, thanks!


Tags :

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file