[ANDROID] How do I retrieve user's Country for Leaderboards?

Get help using Construct 2

Post » Thu May 14, 2015 5:31 pm

Hi,

I need to know how can I make a leaderboard system where users can post Scores with their Country shown (a flag, or just text).

I have seen this in some games, but how can I implement this using Construct 2.

Please share examples and/or links of where I can learn and get started with this.
Thank you!
Hasan
B
10
S
2
Posts: 107
Reputation: 978

Post » Thu May 14, 2015 5:37 pm

Let the user choose his country or use an API. There are plenty of them, just need to google.
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Thu May 14, 2015 5:44 pm

Can you please provide specific example or direct links.. I am not familiar with integrating third-party API's to C2 yet. But with your specific help and direction, I can learn and implement.
B
10
S
2
Posts: 107
Reputation: 978

Post » Thu May 14, 2015 7:21 pm

http://ip-api.com/json get that json and then filter it for the country :)
B
12
S
3
Posts: 211
Reputation: 1,477


Return to How do I....?

Who is online

Users browsing this forum: David181, istero, webebiz and 1 guest