1
\$\begingroup\$

I found some posts that said to use Google Play Services. What about other platforms? Is their some libgdx library that I can use to implement it in core section or do I need to write separate score implementation to each platform?

\$\endgroup\$

2 Answers 2

0
\$\begingroup\$

Unless you know of a third-party service for leader boards that can be used on all devices, you'll have to write platform specific code. The wiki has a tutorial on that.

\$\endgroup\$
6
  • \$\begingroup\$ Can I create online DB and work with it using java? \$\endgroup\$
    – Alex K
    Jul 20, 2014 at 20:38
  • \$\begingroup\$ Of course you can, but you should weight the costs and benefits of each option. \$\endgroup\$
    – Paul Manta
    Jul 20, 2014 at 20:41
  • \$\begingroup\$ OK, and what are the costs and benefits of each option? It's very strange that libgdx doesn't have leaderboard support... \$\endgroup\$
    – Alex K
    Jul 20, 2014 at 20:45
  • \$\begingroup\$ The costs of having your own server for player stats are that it needs money for maintenance and you have to write both server- and client-side code. The costs of writing platform specific code are that you have multiple implementations that may not behave exactly the same. \$\endgroup\$
    – Paul Manta
    Jul 20, 2014 at 20:57
  • \$\begingroup\$ If you don't want to purchase a server, have the knowledges for server-side coding and have an unused PC at home, install Ubuntu on it, configure a MySql database and write your own server. If you can't afford it, search on google, there are a bunch of services for leaderboars (I personally know Nugetta ) \$\endgroup\$
    – Ion Farima
    Jan 9, 2015 at 15:28
0
\$\begingroup\$

have you tried using App42 JAVA SDK? Here[http://api.shephertz.com/tutorial/Getting-Started-Java/?index=gs-javasdk&sdk=java] is the documentation for the same and then simply use leaderboard API documentation to implement leaderboards[http://api.shephertz.com/app42-docs/leaderboard-service/?sdk=java] in your libGDX games.

\$\endgroup\$
1
  • 2
    \$\begingroup\$ This answer is a link-only answer which is not very valuable, as links rot. \$\endgroup\$
    – user35344
    Jun 23, 2018 at 10:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .