Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
GameCircle now covers all Android devices! - Page 2 — Gideros Forum

GameCircle now covers all Android devices!

245

Comments

  • MobAmuseMobAmuse Member
    edited March 2014
    I've just setup the GameCircle stuff to test but await my kindle hdx to arrive before I go any further. While I was setting up a GameCircle leaderboard and generating the keys in the amazon dev panel, I noticed that a 'test name' is needed to actually test the leaderboard function. I guess I will have to wait for the kindle to arrive before I can actually do this.

    Personally I only want it for GameCircle leaderboard just so they enable the free promo stuff ;)
  • ar2rsawseenar2rsawseen Maintainer
    @SinisterSoft all authentication is done upon constructor, basically Gaming.new("googleplay") will automatically launch authentication.

    And as I said it is not fully tested, I've tested plugin code with test interface and everything works, did not yet test other separate interfaces.

  • Some systems require a way for the player to 'login' or 'logout' - like you allow with the current GooglePlay interface. So it's up to the user if they don't want it anymore. Is it possible to add this to the gamer lib in the future?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    sure, thats under a lot of decisions I will need to make, I've implemented it this way, just for the start.
    But basically it seems only Google Play will need loging it, as heyzap and amazon does not require it and gamecenter is usually used with autologing without giving the player a decision.
  • Even on Android and iOS (not Kindle) devices? Bet Apple don't like that.

    Likes: MobAmuse

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • Got gamecircle to work - I had to include all the amazon junk in resources and an api_key.txt file in assets.


    GooglePlay (gamerlib) still has no response though...

    Likes: MobAmuse

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+1 / -0 )Share on Facebook
  • SinisterSoftSinisterSoft Maintainer
    edited March 2014
    @ar2rsawseen: I think you're right about Amazon and HeyZap autologin - they look ok logging in automatically, I don't know about GameCenter, but I think that GooglePlay should have some kind of mechanism to start the login and logouts.

    Could there be an event for Amazon and possibly HeyZap, etc once the (auto)login has been completed?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • MobAmuseMobAmuse Member
    edited March 2014
    Integrated GameCircle as stated but it crashes on boot on Kindle Fire HDX.

    I also included the api_key.txt in assets and also included all the Amazon GameCircle stuff in resources.

    I removed the Heyzap, Helper and other unrelated stuff from my Eclipse project so only have GameCircle related and common src included.

    I've included the Amazon GameCircle libs too.

    My manifest is all good and follows the Amazon GameCircle guidelines.

    Er can't think of anything else tho at this moment in time.
  • ar2rsawseenar2rsawseen Maintainer
    Interesting, do you see what exactly is printed in LogCat?
  • I tried running the kindle hdx off usb as ADB device and it reported in logcat that it was stuck inside a loop. Normally I build to dropbox and install as have quite a few devices so rarely use adb/logcat. I can't say I understand the output very often that it presents me anyway LOL :P I checked my project against SinisterSoft's and appear to have everything in order too. Would you like my Eclispse project just to look at perhaps?
  • On a side note...

    "@SinisterSoft will debug it this evening "

    Did you manage to get it working / which google play should I use?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    @MobAmuse sure if you can send me a project to try, it would be great ;)

    @SinisterSoft yes, the problem is because methods get executed before google play is authorized, thus I will have to implement authentication workflow after all and emulate it in other frame works :)
  • @ar2rsawseen: Are you going to put login/logout of Google play in the new lib?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    Updated with authentication methods and events ;)
  • SinisterSoftSinisterSoft Maintainer
    edited March 2014
    All seems ok (can't fully test out Gamecircle as not published yet). Should I see leaderboards, etc if not published?

    Heyzap and google plus work great - except when returning from heyzap achievements screen the google account is logged into/attempted to be logged into (I get a login_error or login_complete event for google play on heyzap showachievements return).

    Edit: Gamecircle looks ok - for some reason it had changed the achievements to draft from published!
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    will deal with that pesky Google Play :)
  • It's sneaky of them - I wonder if they do it on purpose?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • MobAmuseMobAmuse Member
    edited March 2014
    Nope still cant get it to work and find it a real PITA to integrate GameCircle so gave up and moved on to something else :P The docs are terrible and a Lua example would of been nice of how to actually do a leaderboard. Been over it to the point of total and utter boredom and can't see any mistakes even tho there must be one. Horrible time sink ugh!
  • Does it not work on all android devices for just the kindle fire?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • MobAmuseMobAmuse Member
    edited March 2014
    I've only been using this lib for the kindle fire hdx regards putting in a leaderboard just so that I can get the extra promo on Amazon with the app. I've since given up with it and released loads more free apps with ads on instead given that's where the money appears to be anyway. For the time it took to try and get this working I actually just updated 3 now free apps with ads ;)
  • You should try it on a stock android phone connected to eclipse - it should tell you where the error is.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • I hooked up the kindle fire hdx to eclipse as adb and all seems ok but in log cat it complains that 'Gaming' is missing or something. It broke my brain so going to leave it all for now to get on with other stuff that is more pressing.
  • SinisterSoftSinisterSoft Maintainer
    edited March 2014
    Do you not have "require "gaming" " in yout lua code?

    then...

    amazonG=Gaming.new("gamecircle")
    if amazonG then

    amazonG:addEventListener(Event.LOGIN_ERROR,function()
    print("amazonG LOGIN_ERROR")
    end)
    amazonG:addEventListener(Event.LOGIN_COMPLETE,function()
    print("amazonG LOGIN_COMPLETE")
    end)

    amazonG:addEventListener(Event.LOAD_ACHIEVEMENTS_COMPLETE,function(e)
    print("amazonG LOAD_ACHIEVEMENTS_COMPLETE")
    end)
    amazonG:addEventListener(Event.LOAD_ACHIEVEMENTS_ERROR,function(e)
    print("amazonG LOAD_ACHIEVEMENTS_ERROR")
    end)
    amazonG:addEventListener(Event.REPORT_ACHIEVEMENT_COMPLETE,function(e)
    print("amazonG REPORT_ACHIEVEMENT_COMPLETE")
    end)
    amazonG:addEventListener(Event.REPORT_ACHIEVEMENT_ERROR,function(e)
    print("amazonG REPORT_ACHIEVEMENT_ERROR")
    end)
    amazonG:addEventListener(Event.LOAD_SCORES_COMPLETE,function(e)
    print("amazonG LOAD_SCORES_COMPLETE")
    end)
    amazonG:addEventListener(Event.LOAD_SCORES_ERROR,function(e)
    print("amazonG LOAD_SCORES_ERROR")
    end)
    amazonG:addEventListener(Event.REPORT_SCORE_COMPLETE,function(e)
    print("amazonG REPORT_SCORE_COMPLETE")
    end)
    amazonG:addEventListener(Event.REPORT_SCORE_ERROR,function(e)
    print("amazonG REPORT_SCORE_ERROR")
    end)
    amazonG:login()
    --amazonG:showAchievements()
    end

    Likes: MobAmuse, jdbc

    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
    +1 -1 (+2 / -0 )Share on Facebook
  • @ar2rsawseen Is there any way of having a switch to make achievements silent? I mean so you post an achievement - but no popups?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    I'm currently exploring and matching API's to control notifications for each framework, and currently it seems that is possible only for Amazon and IOS GameCenter

    Likes: SinisterSoft

    +1 -1 (+1 / -0 )Share on Facebook
  • Yep, heyzap is the most annoying. It does have this call though apparently:

    " (void)silentlyUnlockAchievements:(NSArray *)achievementIDs;"

    See line 150 here:

    https://github.com/MaxGabriel/HeyzapSDK/blob/master/Heyzap.framework/Headers/HeyzapSDK.h
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • Can't find anything about silently doing with with google - btw - I think the best practice to not to have achievements updated immediately with google - how would we do this with the Gaming lib - is it set the last parameter to false?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • btw, I think something must be going on at heyzap - they have appear to have no docs about leaderboards, achievements, not even the full download is there as a link any more - it all seems to be about ads. Do you think they are dropping leaderboard/achievement support?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
Sign In or Register to comment.