IOS GameCenter, don't Post Score... (I think)

BrunoGamesBrunoGames Member, PRO Posts: 87
Hi,
I had uploaded my game with (1st try) of Gamecenter on IOS.
I can "view the leaderboard", without any problems, it works.
But the "Post Score" doesn't seems to work.

https://itunes.apple.com/us/app/aka-noid/id655833218?mt=8

I didn't put a "Login" button.
For GameCenter on IOS, it should not be needed the Login.
I say this because i read on the description of the Login behavior:

"This button will prompt the player to log into their Game Center account. Logging into Game Center outright is not required for Game Center Leaderboard functionality, as iOS will prompt the player to log in when other Game Center behaviors are referenced. "

Well another issue to solve :(
if you have any ideas, will appreciate..

Thanks...

Comments

  • GM_PandagamesGM_Pandagames Member Posts: 228
    you have to be pro to use gamecenter.
  • BrunoGamesBrunoGames Member, PRO Posts: 87
    I am PRO.
    Thanks, anyway.
  • GM_PandagamesGM_Pandagames Member Posts: 228
    oh. it dosent say when you post.
  • BrunoGamesBrunoGames Member, PRO Posts: 87
    Yeah , i'm have to request it to be there the badge. Have done it just now.. :)
  • mounted88mounted88 Member Posts: 1,113
    Try to put your post score behavior somewhere else. I've always had to play around with where's the best place to put it to trigger it to post. Just play around with it and you will figure it out.

    Make sure you post score behavior has the right I'd on it also
  • BrunoGamesBrunoGames Member, PRO Posts: 87
    edited October 2013
    thanks, @mounted88
    I will re-re-check ID again. :)
    about, changing the place .. to trigger it to post.. i'm not sure if i understood, what you mean.
    But i think it doesn't apply here, since is trigger by clicking on the button "Post Score", and not automatically by a ending level...
  • mounted88mounted88 Member Posts: 1,113
    Oh I'm sorry mis understood, I thought you were having it triggered.

    Do you have the post score in a rule that says when touch is pressed, also are you using a game.attribute to link your score to the post score button?
  • BrunoGamesBrunoGames Member, PRO Posts: 87

    Just confirmed, LeaderBoard ID is correct.

    Yes.
    Just like the template on Gamesalad program.
    When Touch Release - behavior "Game Center - Post Score"
    Fill in the attrib: game.Highscore to my LeaderBoard ID
  • mounted88mounted88 Member Posts: 1,113
    @brunogames try touch is pressed and add a timer around the post score behavior after 1 sec give that a try if your still having problems
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited October 2013
    @BrunoGames, I agree with mounted88, try the Timer. I've had to do that in the past so the game waits long enough for the post to take place before moving on to the next action.

    I set mine up like this:

    when button is clicked
    post score
    timer - wait 1 second before moving on...
  • HooitHooit Member, PRO Posts: 5
    I have the same problem. I can show leader board but cannot post score. I tried put timer around the behavior but still having problem.

    Any progress with this?
  • mounted88mounted88 Member Posts: 1,113
    @hooit try changing where your putting the post score behavior are you putting it when the scene changes, when your actor dies. Etc etc. switch it around till you find it works. I've done that in the past.
  • HooitHooit Member, PRO Posts: 5
    @mounted88 I've put it at the game over scene under 'post score' button. call the behavior when the button is released. Let me try switch around. Thanks.
  • BrunoGamesBrunoGames Member, PRO Posts: 87
    @mounted88 @jamie_C @Hooit Thanks for your help.
    I had been out, due to my daily work, but had upload a new version to Apple just now.

    I had changed:
    behavior of "Post Score" button, to "when Pressed".
    add Timer (After 1 sec) -> around the [ Post Score ] behavior

    Now have to wait for apple releasing the app.
    I will post the result here.
  • BrunoGamesBrunoGames Member, PRO Posts: 87
    @Hooit , did You manage to put it working?

    My new version, still don't work

    I didn't wanna put the "Login" Button.

    But I realized that I didn't put the "Login" Behavior either anywhere.
    (Since I assume, that IOS ask for the Login by default, if not Loged)

    So, is the only thing that i can try, otherwise, have no clue…
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    Erm if i'm not wrong the user have to first login to gamecentre prior to posting the score to leaderboard. I'm not sure the current version automatically logs in the user or there will be a prompt before he starts the game .
  • BrunoGamesBrunoGames Member, PRO Posts: 87
    @GLGAMES , Thanks for your help…

    ..but still don't work…

    if anyone had use GameCenter, please give some tip… cause i have no other ideas…

    I have a Iphone, for some days to test as Adhoc… (I'm not a iPhone owner, yet)

    Last change, was:
    I had now a Login Button, and it works, i press it, and it took me to the Login scene of the Apple GameCenter.

    The "post Score" Button,
    simple doesn't work, and i don't have any type of error, just don't do nothing when I press…
    but I know the GS rule is been activated , cause it change the color like i want, when pressed.

    Thank you,
    Bruno
  • tahakitantahakitan Member Posts: 102
    mine does the same thing. I have other issues right now though so I'm not even touching this now lol.
  • BrunoGamesBrunoGames Member, PRO Posts: 87
    @tahakitan, thanks for your time , read below…

    :D, i finally manage it, to be working !! hurray!!!

    Well what left after testing all options?
    …. delete and redo the behavior rules "by hand" (not Copy&Paste)

    It's not the 1st time this happen, a few times some behavior, seams to be perfect after Copy&Paste, but in reality the "IDs references" that we don't see, are somehow wrong, like referencing to the original place from where it was copied… so redo it manually, and the code will work as is supposed to…..

    Thanks to all, that took some time and tried to give help...
Sign In or Register to comment.