Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by henrykobutra · Oct 31, 2017 at 02:16 AM · Leaderboards and StatisticsFriends

Leaderboard of friends per level?

Hi Devs,

TL;DR I'm trying to implement a leader board system like candy crush.

So, per level basis, I'd like to display how my friends are doing, if I beat them, if they beat me, etc.

Is that something your platform supports out of the box? Any suggestions on how to approach this?

Cheers,

H

Comment

People who like this

0 Show 1
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image henrykobutra · Oct 30, 2017 at 06:26 PM 0
Share

Oh and I'm planning on having 100's of levels. Like a series of mini games. Game progression is gonna be something like TWO DOTS.

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Oct 31, 2017 at 02:19 AM

Yes, you can use https://api.playfab.com/documentation/client/method/GetFriendLeaderboard to get the scores for your friends. And since all the statistics for each player can be returned as part of the profile data (Settings->Client Profile Options), you could get that info with one API call.

Comment

People who like this

0 Show 4 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image henrykobutra · Oct 31, 2017 at 05:06 AM 0
Share

Wow @Brendan, you're a legend, I was expecting an answer from you since I see you everywhere in this forum, but didn't expect it this fast.

Anyway, some follow up questions:

- So does this mean I need to create 100's of "statistics" for 100's of levels in order to achieve this? (since every level is having a different level of difficulty)

avatar image Brendan ♦♦ henrykobutra · Oct 31, 2017 at 05:08 AM 0
Share

Basically statistics and leaderboards are 1-to-1. So if you need to track on a bunch of stats, and you want each to be a leaderboard, then yes, you would need to add them as statistics.

avatar image henrykobutra Brendan ♦♦ · Oct 31, 2017 at 07:11 AM 0
Share

Thanks @Brendan, hopefully last question. Is there a limit on leaderboards/statistics? Am I correct that there's only one stat per leaderboard?

Thanks a lot!

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    OffTopic help. Regarding Facebook Friends profile pictures. 1 Answer

    Updating Online / Offline status of player? 1 Answer

    Private Groups 1 Answer

    Photon + PlayFab matchmaking parties (invite friends) 2 Answers

    When do Leaderboards reset? 3 Answers

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges