Is there something I can add to a game to show a leaderboard with the help of Gideros? For Android?
I've read quite a lot about "gamekit" now, but "require 'gamekit'" errors that it's basically not there, and after looking into the "All Plugins" I think it can be compiled only for iOS. I'm planning to use Google's API, probably something like their sample line:
startActivityForResult(mGamesClient.getLeaderboardIntent(LEADERBOARD_ID), REQUEST_LEADERBOARD);
Is there some (equal) way?
Thanks for any help!
Comments
yes there are no GameCenter on Android, but there is a Google Play Service:
https://github.com/ar2rsawseen/GiderosGooglePlay
https://play.google.com/store/apps/developer?id=Into-It+Games
http://appstore.com/LidiaMaximova
http://stackoverflow.com/questions/19721158/utilize-both-play-services-and-admob-sdk
Anywork around to use Google Play Services and Admob in Ads Interface? Or we must rewrite migration code:
https://developers.google.com/mobile-ads-sdk/docs/admob/play-migration
Ultimate Games on Appstore
Ultimate Games on Google Play
I've already integrated new Admob version into Ads interface, I just did not finish adding some other stuff
And also admob seems to misbehave when using in conjunction with Google Play services, been doing internal tests, but it seems in some situations there is nothing I can do and some errors happen inside Google Play service
But any way I hope to release the new AdsInterface with upgraded SDKs etc next week
Ultimate Games on Appstore
Ultimate Games on Google Play
There through an "AdsInterface", and this will be released soon? Or is the AdsInterface rather another plugin?
Does it misbehave because of mixing the Java "gms" and the native "gms"?
Anyway, so I better wait with adding Admob to my game, I guess. Orrrr I add both Admob and the leaderboard via Java only. From the Play Services I need only submitScore and showLeaderboard, getting the Java side calling that after the lua side calls something, that should be no problem, should it? (I mean, for me, trying to add features without plugins.)
There seems to be internal conflicts between using interstitials and services native dialogs, as it seems they kind of try to reuse same Activity for both? I really don't know yet, just doing more testing and researching
I've unfortunatly also another problem, which is that "gooleplay" doesn't work on my tablet (Asus Memo Pad HD 7 with Android 4.2.2), even without trying to add any Admob feature.
It's like this: When I run the app without require('googleplay') then it works fine, but as soon as this line is added, the app stops immediately after starting with this line in the logcat:
02-10 06:18:20.257: E/AndroidRuntime(5557): at com.giderosmobile.android.GiderosRenderer.onDrawFrame(somegameActivity.java:275)
02-10 06:18:20.270: W/ActivityManager(439): Force finishing activity com.somevendor.somegame/com.giderosmobile.android.somegameActivity
02-10 06:18:20.301: D/AES(439): process : com.somevendor.somegame
02-10 06:18:20.301: D/AES(439): module : com.somevendor.somegame v10 (1.2)
02-10 06:18:20.301: D/AEE/LIBAEE(439): shell: raise_exp(2, 5557, -1361051648, com.somevendor.somegame, 0x0x5a6ab360, 0x0x0)
I think I've done all install instructions, the .so files are in the libs folders, System loads the library, the AppID is in the ids.xml and the other three lines are added, and my app has permission for Internet and for viewing Wifi connections.
raised shell exception could be lots of things
I will be rechecking its compatibility again with AdsInterface so will be checking the Google Play Service also
And if you will still have problems, feel free to email me Android project that does not work for you to ar2rsawseen at gmail com so I could recheck what is wrong
I have the same error that marc. It stops when reach the require.
With the error in this line 197 of GGooglePlay.java sActivity.get().runOnUiThread(new Runnable() {
I have follow the steps one by one.
But the last I don't understand at all ◾Add external class: "com.giderosmobile.android.plugins.googleplaygame.GGooglePlay"
Maybe the error occurs by this, because I make an import but It says unused.
I have to import support v4 library, and correct the meta-data tag on manifest xml too.
Thank you very much.
Knowing the issue of the same class name
I'm now with the achievements.
I'm using googleplay:showAchievements() --show achievements screen
like says in doc
Thank you in advance.
googleplay:addEventListener(Event.REPORT_ACHIEVEMENT_COMPLETE, function()
It's a nonsense but now it works. But not really how I want.
There's a way to show the achievement image in a popup not in fullscreen?
I have see that in other games.
a popup over the game.
and will display popup upon next syncing with immediate false
There is no way to manually show it, it goes naturally with achievement unlocking process