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?