summary refs log tree commit diff stats
path: root/Classes
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2012-12-25 18:32:51 -0500
committerStarla Insigna <starla4444@gmail.com>2012-12-25 18:32:51 -0500
commitf82fdb7134632c1a52902d44c0d555dac0225898 (patch)
treeb36bdc4ff9e7bfe2a1a835ac78e9bea0d036334c /Classes
parentbcbb03d6abd1ac575f3d7a54f0b7d932a72dca48 (diff)
downloadcartcollect-master.tar.gz
cartcollect-master.tar.bz2
cartcollect-master.zip
Fixed cart driving wrong direction and made all game modes available for testing purposes HEAD v0.4.10 master
Diffstat (limited to 'Classes')
-rw-r--r--Classes/GameModeSelectionLayer.m11
1 files changed, 6 insertions, 5 deletions
diff --git a/Classes/GameModeSelectionLayer.m b/Classes/GameModeSelectionLayer.m index e7b6966..03af89d 100644 --- a/Classes/GameModeSelectionLayer.m +++ b/Classes/GameModeSelectionLayer.m
@@ -49,23 +49,24 @@
49 49
50 GameModeSelection* collectSelection; 50 GameModeSelection* collectSelection;
51 51
52 if ([defaults boolForKey:@"hasDoneTutorial"]) 52 collectSelection = [GameModeSelection selectionWithName:@"Collect" location:@"Paris" filename:@"paris" unlocked:YES];
53/* if ([defaults boolForKey:@"hasDoneTutorial"])
53 { 54 {
54 collectSelection = [GameModeSelection selectionWithName:@"Collect" location:@"Paris" filename:@"paris" unlocked:YES]; 55 collectSelection = [GameModeSelection selectionWithName:@"Collect" location:@"Paris" filename:@"paris" unlocked:YES];
55 } else { 56 } else {
56 collectSelection = [GameModeSelection selectionWithName:@"Collect" location:@"Paris" filename:@"paris" unlockCondition:@"Beat the tutorial!"]; 57 collectSelection = [GameModeSelection selectionWithName:@"Collect" location:@"Paris" filename:@"paris" unlockCondition:@"Beat the tutorial!"];
57 } 58 }*/
58 59
59 [gameModes addObject:collectSelection]; 60 [gameModes addObject:collectSelection];
60 61
61 GameModeSelection* jumpSelection; 62 GameModeSelection* jumpSelection;
62 63 jumpSelection = [GameModeSelection selectionWithName:@"Jump" location:@"Venice" filename:@"venice" unlocked:YES];
63 if ([defaults boolForKey:@"unlockedJumpMode"]) 64/* if ([defaults boolForKey:@"unlockedJumpMode"])
64 { 65 {
65 jumpSelection = [GameModeSelection selectionWithName:@"Jump" location:@"Venice" filename:@"venice" unlocked:YES]; 66 jumpSelection = [GameModeSelection selectionWithName:@"Jump" location:@"Venice" filename:@"venice" unlocked:YES];
66 } else { 67 } else {
67 jumpSelection = [GameModeSelection selectionWithName:@"Jump" location:@"Venice" filename:@"venice" unlockCondition:@"Get 3000 points in Collect!"]; 68 jumpSelection = [GameModeSelection selectionWithName:@"Jump" location:@"Venice" filename:@"venice" unlockCondition:@"Get 3000 points in Collect!"];
68 } 69 }*/
69 70
70 [gameModes addObject:jumpSelection]; 71 [gameModes addObject:jumpSelection];
71 72