diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-09-04 12:22:06 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-09-04 12:22:06 -0400 |
commit | 52028c896c7897d2d9183260e6c0d748e5d1211a (patch) | |
tree | 3cab2310dbbdbff09914738674a1ec6a45b00e90 | |
parent | 2fa013a839517aef066edadb2fb4863b357fa55b (diff) | |
download | cartcollect-52028c896c7897d2d9183260e6c0d748e5d1211a.tar.gz cartcollect-52028c896c7897d2d9183260e6c0d748e5d1211a.tar.bz2 cartcollect-52028c896c7897d2d9183260e6c0d748e5d1211a.zip |
Decreased Jump unlocking score to 3000
Refs #204
-rwxr-xr-x | Classes/ClassicGameMode.m | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Classes/ClassicGameMode.m b/Classes/ClassicGameMode.m index b8fe636..c925419 100755 --- a/Classes/ClassicGameMode.m +++ b/Classes/ClassicGameMode.m | |||
@@ -15,6 +15,7 @@ | |||
15 | #import "GameOverScene.h" | 15 | #import "GameOverScene.h" |
16 | #import "SimpleAudioEngine.h" | 16 | #import "SimpleAudioEngine.h" |
17 | #import "CCNotifications.h" | 17 | #import "CCNotifications.h" |
18 | #import "TestFlight.h" | ||
18 | 19 | ||
19 | @implementation ClassicGameMode | 20 | @implementation ClassicGameMode |
20 | 21 | ||
@@ -36,7 +37,12 @@ | |||
36 | [self unschedule:@selector(randomlyAddObject:)]; | 37 | [self unschedule:@selector(randomlyAddObject:)]; |
37 | [self schedule:@selector(randomlyAddObject:) interval:0.6f]; | 38 | [self schedule:@selector(randomlyAddObject:) interval:0.6f]; |
38 | addSpeed = 0.6f; | 39 | addSpeed = 0.6f; |
39 | } else if ((lastScore < 5000) && (score >= 5000)) | 40 | } else if ((lastScore < 4500) && (score >= 4500)) |
41 | { | ||
42 | [self unschedule:@selector(randomlyAddObject:)]; | ||
43 | [self schedule:@selector(randomlyAddObject:) interval:0.7f]; | ||
44 | addSpeed = 0.7f; | ||
45 | } else if ((lastScore < 3000) && (score >= 3000)) | ||
40 | { | 46 | { |
41 | NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; | 47 | NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; |
42 | 48 | ||
@@ -46,12 +52,9 @@ | |||
46 | 52 | ||
47 | [defaults setBool:YES forKey:@"unlockedJumpMode"]; | 53 | [defaults setBool:YES forKey:@"unlockedJumpMode"]; |
48 | [defaults synchronize]; | 54 | [defaults synchronize]; |
55 | |||
56 | [TestFlight passCheckpoint:@"Unlocked Jump Mode"]; | ||
49 | } | 57 | } |
50 | } else if ((lastScore < 4500) && (score >= 4500)) | ||
51 | { | ||
52 | [self unschedule:@selector(randomlyAddObject:)]; | ||
53 | [self schedule:@selector(randomlyAddObject:) interval:0.7f]; | ||
54 | addSpeed = 0.7f; | ||
55 | } else if ((lastScore < 2500) && (score >= 2500)) | 58 | } else if ((lastScore < 2500) && (score >= 2500)) |
56 | { | 59 | { |
57 | [self unschedule:@selector(randomlyAddObject:)]; | 60 | [self unschedule:@selector(randomlyAddObject:)]; |