question

kybo10 avatar image
kybo10 asked

Just started using PlayFab, have no idea how it works even after going through the tutorials

I just started coding in Unity, and created a 2d game. Have it on itch.io to go through alpha testing. Only problem is I am unable to save any data. I was told this would be a good backend to check out, but all I see is how to create a login page. I just want to save variables like item counts, TimeSpan timers, etc. I have also never worked with APIs before. I do know how to get my secret codes, just need to save variables though. Would I have to create random numbers to use as the player, then save variables to that?

Thanks!

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

There are quite a lot of different systems available in PlayFab, so it's hard to say exactly what you need from that, but the most basic component would be authentication. I'd recommend having a look at this post for an overview of different login systems for some popular games: https://playfab.com/first-impressions-count-best-practices-friction-free-player-authentication/. Once you've signed in a player, all the rest of the functionality is then available, including user data (https://api.playfab.com/docs/using-player-data), receipt validation (https://playfab.com/show-me-money-receipt-validation-ios-and-android/), non-receipt purchasing (https://api.playfab.com/docs/non-receipt-purchasing), automated live game operations (https://playfab.com/introducing-playstream/), etc. - it really just comes down to what your specific needs are.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.