diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-09-04 11:23:09 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-09-04 11:23:09 -0400 |
commit | 90f9884ec4a266fbf535f00bcb34a1b07396279d (patch) | |
tree | 8955ea75171639b1f32c497e0b797a089cb43e91 /Classes/GameModeSelection.m | |
parent | 339f8e2cb2fce18f6d32b3881a5cd390c0be488e (diff) | |
parent | d2f3c1322b29abf618d272c8c3580d2d2da4887e (diff) | |
download | cartcollect-90f9884ec4a266fbf535f00bcb34a1b07396279d.tar.gz cartcollect-90f9884ec4a266fbf535f00bcb34a1b07396279d.tar.bz2 cartcollect-90f9884ec4a266fbf535f00bcb34a1b07396279d.zip |
Pulled in jump mode
Diffstat (limited to 'Classes/GameModeSelection.m')
-rw-r--r-- | Classes/GameModeSelection.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Classes/GameModeSelection.m b/Classes/GameModeSelection.m index 69f1ddb..40981b1 100644 --- a/Classes/GameModeSelection.m +++ b/Classes/GameModeSelection.m | |||
@@ -177,7 +177,7 @@ | |||
177 | 177 | ||
178 | CGImageRef highscoreImage = [UIGraphicsGetImageFromCurrentImageContext() CGImage]; | 178 | CGImageRef highscoreImage = [UIGraphicsGetImageFromCurrentImageContext() CGImage]; |
179 | UIGraphicsEndImageContext(); | 179 | UIGraphicsEndImageContext(); |
180 | CCSprite* highscoreSprite = [CCSprite spriteWithCGImage:highscoreImage key:[NSString stringWithFormat:@"gms-%@-highscore", filename]]; | 180 | CCSprite* highscoreSprite = [CCSprite spriteWithCGImage:highscoreImage key:[NSString stringWithFormat:@"gms-%@-highscore-%d", filename, localHighscore.score]]; |
181 | highscoreSprite.position = ccp(-5, 0-64-(highscoreSize.height)/2-10); | 181 | highscoreSprite.position = ccp(-5, 0-64-(highscoreSize.height)/2-10); |
182 | [self addChild:highscoreSprite]; | 182 | [self addChild:highscoreSprite]; |
183 | } | 183 | } |