question

DetectivePig avatar image
DetectivePig asked

Retrieving player data on website

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

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

·
Citrus Yan avatar image
Citrus Yan answered

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

https://community.playfab.com/questions/33/205392748-Client-Trusted-Statistics-and-Virtual-Currency-Modification.html

2 comments
10 |1200

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

DetectivePig avatar image DetectivePig commented ·

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.

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan DetectivePig commented ·
0 Likes 0 ·

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.