From 28497668761472e085d0c9955aa8077d11bf353c Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 2 Jan 2013 23:08:46 -0500 Subject: Removed locked game modes from selection screen Also removed cluttering attributes "unlockCondition" and "starsToUnlock" from GameModeInfo because they're really not that generalized (and unlockCondition doesn't really make sense if locked game modes are invisible anyway). starsToUnlock can be replaced by simply putting if statements in to GameModeManager's setStars: and then unlocking modes based off that. Completing the tutorial also now unlocks both Collect AND Jump. The idea is that we should make more than just Collect available at the start, and have only a few super hidden game modes that are unlockable; hence locked game modes being invisible. --- Classes/ClassicGameMode.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Classes/ClassicGameMode.m') diff --git a/Classes/ClassicGameMode.m b/Classes/ClassicGameMode.m index 9356fea..00bf049 100755 --- a/Classes/ClassicGameMode.m +++ b/Classes/ClassicGameMode.m @@ -30,11 +30,9 @@ static GameModeInfo* info; location:@"Paris" numOfStars:3 imageFilename:[[NSBundle mainBundle] pathForResource:@"paris" ofType:@"png"] - unlocked:NO - unlockCondition:@"Beat the tutorial!" + unlocked:YES gameClass:[ClassicGameMode class] - globalHighscoreKey:@"Classic" - starsToUnlock:0]; + globalHighscoreKey:@"Classic"]; } return info; -- cgit 1.4.1