Comments

Log in with itch.io to leave a comment.

Excellent leaderboard idea! Keep up the good work!

Thanks!

Wow, Highly appreciated Thanks. Do I upload it to my server and it works?

Yes, it will :) And you're welcome to use it for your own projects. Just be sure to link to the PlayFabClientApi.js as shown in the PlayFabGetttingStarted code and, of course, you'll need to setup the game Title in your PlayFab account.

https://tralala.fun/  Think I'm doing something wrong...

(1 edit)

Looks like it's working. Remember you'll need to setup your own TitleId in PlayFab first. See https://docs.microsoft.com/en-us/gaming/playfab/personas/developer

Hi, May I buy the "leaderboard practice A simple prototype" and learn from it?

No need to buy it! I'm happy to share. I've uploaded the PlayFab Getting Started sample source code as well as the source code for my own PlayFab service. Good luck!

Thanks for this! Really interesting. I'll have to look into PlayFab!

Hey Itizso, I was wondering if I could ask you how you learned how to do the PlayFab stuff, a lot of the things you've created in this submission I would love to learn how to do myself. - Roshimitsu

Hey Roshimitsu. Yeah, I definitely recommend giving it a go and it's not too difficult once you get the hang of it.

I started with some basic code examples provided in the documentation. There is a quickstart guide for each development platform. So for this submission I used the Javascript QuickStart guide, but you can find similar ones for other platforms, like Unity QuickStart, Unreal QuickStart, Python QuickStart, etc. 

I was able to copy and paste a lot of the code provided there to log a player into PlayFab, and then other operations like adding a player's high score or getting the leaderboard is very similar, with the specific details for each provided in the API Reference guide. In particular, the api's for Update Player Statistics and Get Leaderboard.

I hope that's helpful?

That's awesome :) Thank you so much for the detailed post, I'm going through the Coco Code tuts on YoutTube atm and the documentation you shared is really helping! Thanks for the info!!

You're welcome :)