I created a small game as a part of an experiment. I want to be able to post high-score on a website. Basically speaking, I'm using currency as points. Wanted to ask for any directions.
Thank you in advance
I created a small game as a part of an experiment. I want to be able to post high-score on a website. Basically speaking, I'm using currency as points. Wanted to ask for any directions.
Thank you in advance
You are developing a browser game where each player can post their highest score and others can view it, is that correct? In that case, we recommend that you use player statistics instead:
https://docs.microsoft.com/en-us/gaming/playfab/features/data/playerdata/using-player-statistics
And, A Leaderboard can be generated for a specific statistics saved in PlayFab, you can use that to rank players so as to increasing engagement within your game:
https://docs.microsoft.com/en-us/gaming/playfab/features/social/tournaments-leaderboards/
Moreover, unless you trust the client-side, in normal case we don’t recommend enabling posting statistics from the client because that may allow some players to cheat, please read the discussions below:
https://community.playfab.com/questions/8637/security-on-updating-statistics-from-client-cloud.html
Hi. First of all, thank you for the answer.
The game is in unity. Since the game is an experiment, I additionally created website, where I want to post high score.
What I want to achieve: make a call that will retrieve the list of players and their virtual currency. Then I want to segregate them starting with the highest and display top 5.
Using Statistic and Leaderboard better fit your scenario, please refer to these docs to get started:
https://docs.microsoft.com/en-us/gaming/playfab/features/data/playerdata/using-player-statistics
https://docs.microsoft.com/en-us/gaming/playfab/features/social/tournaments-leaderboards/
2 People are following this question.