summary refs log tree commit diff stats
path: root/Classes/TutorialMode.m
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-18 15:51:48 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-18 15:51:48 -0400
commit3750d7aa4e307d1f2099eceaa21014151e78d364 (patch)
tree77487a1cc5fd055d2d8096a158d4908a5e4094fa /Classes/TutorialMode.m
parent6906cf0ce4f8266173d67a7b9fccc56747d5d618 (diff)
downloadcartcollect-3750d7aa4e307d1f2099eceaa21014151e78d364.tar.gz
cartcollect-3750d7aa4e307d1f2099eceaa21014151e78d364.tar.bz2
cartcollect-3750d7aa4e307d1f2099eceaa21014151e78d364.zip
Started game mode selection screen
So far, tapping "New Game" shows a screen with two game modes: the tutorial and the classic collect. They both have pictures and Collect's is grayscale if it hasn't been unlocked yet (a.k.a. the tutorial hasn't been completed yet). Also, Collect's title is replaced with question marks and the text "Beat the tutorial!" is shown if it isn't unlocked--if it is unlocked, the player's highscore, if they have one, is shown. A "Back to Main Menu" button is also present. Neither selection is as of yet tappable, and neither picture yet has a border. You cannot scroll through modes yet either.

Refs #207
Diffstat (limited to 'Classes/TutorialMode.m')
-rw-r--r--Classes/TutorialMode.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Classes/TutorialMode.m b/Classes/TutorialMode.m index 1ada34a..c28bd08 100644 --- a/Classes/TutorialMode.m +++ b/Classes/TutorialMode.m
@@ -331,6 +331,9 @@
331 331
332 [self unschedule:@selector(randomlyAddObject:)]; 332 [self unschedule:@selector(randomlyAddObject:)];
333 333
334 NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
335 [defaults setBool:YES forKey:@"hasDoneTutorial"];
336
334 return; 337 return;
335 } else { 338 } else {
336 NSLog(@"randomItemsDropped in TutorialMode is greater than 15--this should never happen."); 339 NSLog(@"randomItemsDropped in TutorialMode is greater than 15--this should never happen.");