+3 votes

There are some modules for GGPS leaderboards for Android avaible for Godot (QA post). None of them offers much functionality. In my app I would like to show player's position on leaderboard and aslo indicate total number of users, something like this: your rank is 10th / 2345, first number is current rank, second number is total number of users (or total number of scores).

There are some fucntions in Google APIs for Android (getRank(), getPlayerRank(), getNumScores() - com.google.android.gms.games.leaderboard.LeaderboardVariant), but I can't figure out how to use them. I am not familiar with Java and Android SDK, GGPS, so I am little bit lost..

Can someone point me in the right direction? How can I run these functions on my leaderboard? They have no arguments so I guess first I need somehow make an instance of leaderboard and player score?

Maybe naive question: Does anybody plan to implement this as module?

asked Mar 4, 2016 in Engine by lukas (679 points)
edited Mar 5, 2016 by lukas

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.