Voting Leaderboards
-
The Does brainCloud support feature X? page mentions Voting Leaderboards (also in the 2019 roadmap). I can't find any documentation on them - does the feature exist?
-
Thanks for pointing that out. This type of leaderboard isn’t directly supported by the current leaderboard APIs yet, but I’ll forward your feedback to our team for review.
In the meantime, as a workaround, you can create a Cloud Code script to handle it like a voting system -- the script can retrieve the player’s score and then post an additional “voted” score on behalf of that player.
-
Hi,
Actually - voting leaderboards are implemented via the PostScoreToLeaderboardOnBehalfOf() call - where you can basically vote for someone else's score. [i.e. voting for that person].
Create the leaderboard as a "Cumulative" leaderboard - and basically the player votes for the score of another player - incrementing it by +1.
I suppose we should add those details to the roadmap item!
I hope that helps to clarify things!
Paul.