Jump to content

How to add simple high score function to iPhone game?


2 posts in this topic

Recommended Posts

Hi guys, I'm just learning how to code and I created a very simple, yet fun game (with help from a tutorial) that I want to add a high score function too. I can post the source code below, not sure how to do it but I'll try!

 

Anyways, I basically want to add a "Highscore: X" in the upper right corner of the screen, and have the ability for the game to store the 5 highest scores, and that players name.

 

I'm not sure how to do it, or if its even possible but if someone with expierence could help me out I'd really appreciate it!

 

(PS The game was created using Xcode 4.6 on a Mac)

 

Thanks!

Tap Me.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...