Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

iPhone SDK- How To Add Game Center To Your App

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,437
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 22, 2010

Please check out my new app caled "Zii" in the app store!

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (brandflakeapps)

  • it didnt work at the end because you selected "Ascending" in seting up Game Center (iTunes Connect) . Thanks a lot for the tutorial ;)

  • @BakyR4 o thank you so much!

Top Comments

  • Please read: I would like it so the add score goes up by 1 instead of 4 how do I do that??! Thanks

see all

All Comments (40)

Sign In or Sign Up now to post a comment!
  • @RjProgrammes Just use the following code but alter it to suit your variable and string.

    int i;

    NSString* string;

    i = [string intValue];

  • @James161997 Very simple, just replace the '4' in the add score IBAction with a '1' and then it will go up in '1' instead of '4'.

    You could just replace the code with this though : (VariableName) += 1;

    Hope that helps :)

  • hi mate, i have made a game but the score is a NNString, how would i change it to ScoreInt?

  • can u give us the text thing of witch you copied of plz

  • I just want to say thank you soooooooo much.

  • Leaderboard is not showing here.. :S

    

  • Add me *RUXIIST*

  • very nice tutorial ;)

  • everything is ok but when I try it on ios5 simulator the application doesnt submit the score in real to Gamecenter altough it sends a log of successful sumbission to console

  • @James161997 you can do it with a timer by submitting it in every 5 minutes for example. you should call submitscore function

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more