Major Problem/Confusion About Saving/Loading Attributes

jonbeebejonbeebe Member Posts: 49
edited November -1 in Working with GS (Mac)
Hello everyone. All was well, until I noticed something VERY strange. So there's either something majorly wrong with the way I built my latest two apps, or there's something I don't fully understand about saving/loading attributes.

I completed my first two games, and both games happen to use a Save Key called 'highscore' to store the highest score that is achieved in the game.

I completed both games and made the .app and installed using iTunes just as it says in the guides and everything worked great. The apps were installed, and I was able to play. However, I started noticing that whenever I achieve a new high score in one game, it overwrites and displays that SAME high score in the other game!

My question is, does the Save Key have to be completely unique globally or other apps/games will access/use/overwrite/load the same keys? I had thought that the keys were app-specific, so as long as no other attribute was using the key in that SAME APP that everything would be fine, but apparently I'm wrong.

If keys aren't supposed to be accessd globally between apps, then I would very much appreciate it if someone could shed some light as to why my highscore attribute is being shared between two SEPARATE games.

NOTE: It's worth mentioning that although these are two completely separate games, I built the second game using a copy of the first game to use as a template. Could that be why things are being shared?

I'm very confused right now, please help. Thanks in advance!

Comments

Sign In or Register to comment.