简体   繁体   中英

Scoreloop hangs on “connecting” when displaying higscores on Android

I try to implement Scoreloop in libgdx. I used some tutorials here and here . When I run the game and try to show the higscores with showscoreLoop() I have to accept TOS first. After pressing "enable" (accept) window with "Connecting, please wait" show and nothing happens...When I minimize the app and start it again, I get the nullexception when I try to access the highscores again.

Any help here? I'm really desperate as there is almost no support for Scoreloop..

I realize this doesn't answer your question directly, but it might end up saving you a good bit of time in the long run.

We've had some good success with LibGDX projects using Swarm (aka SwarmConnect ) for leaderboards in Android games. Integration is pretty straight forward as long as you initialize at the end of onResume() and remember to make calls to Swarm.setActive() and Swarm.setInactive() in the right places. It's documented pretty well though.

If you go to the LibGDX forums and do a quick search for SwarmConnect, you'll find plenty of links to threads that can help :). Cheers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM