How can i get a users rank from leaderboard when using Corona SDK?

0 votes
I am trying to get a users current rank from the leaderboards. Is there away to do that in corona? I could not find a method that returns that value. Does the App42 Cloud support this for Corona sdk?
asked Aug 29, 2016 in Corona by scott (10 points)

1 Answer

0 votes

Hi Scott,

Yes, it is available in Corona SDK. You can get the User rank using our API getUserRanking.

Let me know if you have any other queries.

Regards,

Rajeev

answered Aug 30, 2016 by rajeev.etc (1,660 points)
I saw that in the documentation. But what I can't seem to figure out is how to output the actual rank value. When I looked at other languages i.e. JavaScript there was a property scorelist.rank which returns the value of the player's rank. I do not see this in the corona example. How do I get the rank value in corona.

Thanks

S
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...