Game Center is not working while trying to test it
http_gamesalad
Member Posts: 1,340
I have 3 different buttons Log in , Post Score , and View Highest score ... when I put in the information and I try to test it on my iPod 4 gen nothing happens when I press any 3 of the buttons
Comments
Gamecenter can't be tested adhoc. Apple sets it up on their side when published.
You should get a pop up though in adhoc when it tries to login game center.
@gattoman when I try to press the button when I put it in adhoc testing nothing at all happens ... does it look like everything was set up right?
bump?
You can totally test Game Center adhoc. I'm doing it right now.
Make sure of the following:
Also, if you preview your project, are you getting the placeholder popups? If not, something in your logic isn't right.
Also, there is no need for login behavior to be in a touch rule. Just place it by itselt outside of any rules.
And the post score behavior, just have it fire at the end of the game, no need for it to be in a touch is pressed rule.
These are things that have been said more than once for good reason.
Fortuna Infortuna Forti Una
Have to turn on sandbox...... Aahhh. Thanks
@QAsalad @lovejoy @gattoman I don't see the settings for game center on my ipod 4 g. I went to my Settings and I don't see anything for game center or how to turn on Game center .. I Googled how to turn it on but nothing showed. I'm I supposed to go through iTunes connect or something ?
Well, this really depends on what the desired outcome is. In most cases people will want GameCenter to automatically log in (something that annoys the hell out of me as a player, but makes most sense as a developer). However, sometimes people want to only submit scores when the player presses a "Submit score" button, rather than having it happen automatically. In such cases it's better to put the login behind the touch too.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@lovejoy well I hate being forced to log into something ... and in all honestly I've never used game center once in my life to post scores or anything. Personally I never cared to post my score on any lists. I see where you're coming from. I'm adding this in my game because alot of people think it'll be more fun to have game center in the app and for the people who don't want to use game center I won't be shoving it in their face. hahaha. Its like having to make a google plus account to make a youtube account ... no one ever uses their google plus account but they HAVE to make one if they want to use youtube and upload videos. But thank you very much for the idea
@http_gamesalad That's a philosophy I can get behind as a player!
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@QASalad when I press play in the preview the log in thing at the top pops up. Also when I press any 3 of the buttons something pops up .. so its set up right but I just can't test it
Bump? Any one know how to get my ipod into sandbox mode?