Game Center doesn't work
http_gamesalad
Member Posts: 1,340
The log in button and post score button don't work for some odd reason .. I thought I set it up properly. I don't have an apple device that will allow me to test my game center in sandbox .. it only runs iOS 6. I asked some on on the forums how the set up looks and he said it should work.
Comments
My friend told me he tried to post he's scores on Game Center and nothing happened. Non of the buttons were working
Are you using TestFlight to test GameCenter? You need to now. Apple got rid of the sandbox environment as part of the iOS 9 and OS X 10.11 releases.
https://developer.apple.com/library/ios/technotes/tn2417/_index.html
You can put the login behavior outside the touch -rule. that way it will log in automatcally.
Don't write the leaderboard ID in the expression editor. Type it straight in to the text field.
Mental Donkey Games
Website - Facebook - Twitter
That too. Though I usually put mine in an attribute to prevent the confusion.
I see your ID also has a prefix of "grp" meaning it's a group leaderboard. Yet you neglected to add this to the id. Maybe you should look into whether or not you need to add ".grp"
Nice idea @QASalad!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
No, you don't need to use TestFlight to test Game Center, you can use an adhoc build just like before (which is much faster than TestFlight) even if you're on iOS 9. You only need TestFlight if you want other people to test your build on their devices.
Also, if you are on iOS 8 then you can still use the separate sandbox environment for Game Center testing (Apple has not closed down the test servers).
@NipaDidIt if I do the log in rule in my controller will the log in screen for game center automatically come up and force you to log in?