First big demo update: Cloud Saving!


It's a habit of mine to tackle the most unknown things first - in this case, I knew I wanted some kind of cross-platform/device saved state, but had no idea how I'd be going about it. I did have several goals I wanted to meet for it though:

  • Doesn't require my own server
  • Platform agnostic
  • Can be extensible (ex: if I decide to build for other platforms, can link between handy services easily, offers additional perks for potential future games I make)
  • Has player storage available for me to store any arbitrary thing securely for that player

For these reasons, I ended up with two front-runner solutions: Google's Firebase or Microsoft's PlayFab

Aaaaand after quite a many hours reading and googling, especially given I'm starting on WebGL as a platform, I ended up going with Microsoft's PlayFab. It was super easy to set up all the account/backend side of things with them, and pretty easy to integrate in on the game side as well, overall I'm happy with the end result!

After all, I have a fancy Perk that can only be obtained in the demo which will have an interesting impact on the full release ;)  Need to have some way to get it! That and, personally, I hate losing progress in anything, so I wanted to make sure all those nice rewards had the option of never being lost.

This also gave me the opportunity to test out itch.io's butler command-line updating, which ended up being as super smooth as it promised to be. Which is great, because I'd like to add additional functionality in the demo (log out, delete account, etc.) that I didn't get to because I got it working for the bare-minimum and would love to get back to content to be found with the full release :)

Files

read-play-game-html.zip Play in browser
Version 2 Sep 08, 2020

Get Read Play Game

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.