IOS GameCenter, don't Post Score... (I think)
BrunoGames
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...
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
Thanks, anyway.
Make sure you post score behavior has the right I'd on it also
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...
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?
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
I set mine up like this:
when button is clicked
post score
timer - wait 1 second before moving on...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Any progress with this?
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.
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…
..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
, 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...