how do you handle people who choose NOT to sign in with game center?

part12studiospart12studios Member Posts: 620
edited January 2012 in Working with GS (Mac)
This is how i'm doing it. Works great if the user chooses to sign in with Game Center, but if they refuse.. then all kind of errors occur. I would like for a user who chooses not to sign in with game center to never have to deal with it again..

I thought about using a key, but my attempts were unsuccessful. the trick i'm running into is when the game is run for the first time.. i have to (i assume) save something AS the key data.. but then right after have to ask "is this the first time?" and immediately say "no" after that question.. just not sure i'm doing things in the right order or right way..

Just wonder if there is a "Best practices" approach to insuring smooth non-invasive and intuitive use of game center in game salad?

Also does anyone know if it's ok to use the Game Center icon in a game? like to make it a game center button?


Thanks!
Caleb

Comments

  • BSideGamesBSideGames Member Posts: 392
    edited January 2012
    Think we are here to make games for people to play... not to punish them for the way they play games.
    just one more thing for GS to fix.
    IMO just saying
  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    @part12 I'll attempt to be helpful. Try creating a game attribute boolean "GC on". This will allow you to make a switch that either prompts the GC behavior, or not. You could have an options section with a Turn GC off button, or you could use a prompt on your main menu that asks whether or not to activate GC. Then you use a save/load attribute system to ensure the user isn't bothered every time.

    As far as I know, you can use the GC icon, you just can't recreate the green felt wood border feel in your app.
  • flapairflapair Member Posts: 67
    Will what i think you want is that you want people who don't want GC to not appear game center right? If it is here is what i suggest you do: (2 ways)

    1st Way:

    Create a boolean attribute and call it Game Center or GC.
    Now make that the first time someone plays the game appear a message do you want game center on or off?
    Than make 2 actor. One called GC On & GC Off
    Put both actor on the message and make that:
    Button ON - If touch is pressed change attribute GC or Game Center to on
    Button OFF - If touch is pressed change attribute Gc of Game Center to off

    Than in all the actors you putted something with game center create a rule and in it you want to put the game center behavior and:

    If attribute GAMECenter is on
    post score in game center
    login to game center
    otherwise
    don't put nothing in here

    2nd Way:

    Create a boolean attribute and call it Game Center or GC. Let it true.
    Now create a button that will the Game Center attribute true or false so you make a quick rule:

    If touch is pressed and attribute Game Center is true
    change attribute game.Game Center to false

    If touch is pressed and attribute Game Center is false
    change attribute game.Game Center to true

    Simple as that now you want to put the login to game center and all those things post score to game center the following code:
    If Attribute Game Center is True
    Login to game center or Post Score or view leader board

    If you didn't understood just post here a comment and ill answer as soon as i can!
  • MotherHooseMotherHoose Member Posts: 2,456
    rather than "Is this your first time?" … ah, what memories that conjures up! :x

    game.GCon boolean

    Use a Pause Game behavior when your Title Scene is loaded
    offscreen controlActor
    Timer: After: 0.1 seconds √Run to completion
    --Pause Game: Go to scene: pauseScene or whatever
    Timer: After: 1 seconds √Run to completion
    --Destroy this actor

    pauseScene:
    with the buttons for on/off in a nice box that covers your Play/Instructions/Options/Continue buttons on the titleScene

    onButton:
    Rule: when
    touch is pressed:
    --changeAttribute: game.GCon to true
    --Unpause Game

    offButton:
    Rule: when
    touch is pressed:
    --Unpause Game

    not too hard to put the Rules: when game.GC is true on the few score/achievement actors in the game

    when the player restarts the game, they have the option to turn GC on.

    @};- MH
  • SAZ_1SAZ_1 Member Posts: 397
    yup just need a on off button then a possible prompt thats it!
  • part12studiospart12studios Member Posts: 620
    hmmm that's a great approach. i would have never thought about using a pause feature.. ultimately what i ended up doing is have it off by default and a nice big "game center" button a user can click to then go in and turn game center on.. i've recently discovered that only a small % of gamers use game center anyway..

    however I believe that if the game shows any promise, I may go back and incorporate a more elegant solution like mentioned @motherhoose

    Thanks!
    Caleb
Sign In or Register to comment.