summary refs log tree commit diff stats
path: root/Classes/ClassicGameMode.m
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/ClassicGameMode.m')
-rwxr-xr-xClasses/ClassicGameMode.m15
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:)];