Game Center is not working while trying to test it

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

  • GnarlyGnarly canadaMember Posts: 840

    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.

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    @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?

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    bump?

  • QASaladQASalad Inactive, Chef Emeritus Posts: 142
    edited September 2015

    You can totally test Game Center adhoc. I'm doing it right now.

    Make sure of the following:

    • All of your achievement IDs and leaderboard IDs are set up in iTunes Connect
    • You're using the same IDs in your gameproj (Case Sensitive!)
    • You have logged out of Game Center on your device (Settings -> Game Center)
    • You enabled Sandbox for Game Center (Settings -> Game Center -> scroll to the bottom where the developer settings are)
  • QASaladQASalad Inactive, Chef Emeritus Posts: 142

    Also, if you preview your project, are you getting the placeholder popups? If not, something in your logic isn't right.

  • LovejoyLovejoy Member Posts: 2,078

    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

  • GnarlyGnarly canadaMember Posts: 840

    Have to turn on sandbox...... Aahhh. Thanks

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    @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 ?

  • ArmellineArmelline Member, PRO Posts: 5,368

    @Lovejoy said:
    Also, there is no need for login behavior to be in a touch rule. Just place it by itselt outside of any rules.

    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.

  • http_gamesaladhttp_gamesalad Member Posts: 1,340
    edited September 2015

    @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 :)

  • ArmellineArmelline Member, PRO Posts: 5,368

    @http_gamesalad That's a philosophy I can get behind as a player!

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    @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

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    Bump? Any one know how to get my ipod into sandbox mode?

Sign In or Register to comment.