diff options
| -rwxr-xr-x | Cartographic.xcodeproj/project.pbxproj | 48 | ||||
| -rw-r--r-- | Classes/GameModeSelection.h | 30 | ||||
| -rw-r--r-- | Classes/GameModeSelection.m | 88 | ||||
| -rw-r--r-- | Classes/GameModeSelectionLayer.h | 17 | ||||
| -rw-r--r-- | Classes/GameModeSelectionLayer.m | 82 | ||||
| -rwxr-xr-x | Classes/MainMenuLayer.h | 1 | ||||
| -rwxr-xr-x | Classes/MainMenuLayer.m | 13 | ||||
| -rw-r--r-- | Classes/TutorialMode.m | 3 | ||||
| -rw-r--r-- | Resources/florence.png | bin | 0 -> 24142 bytes | |||
| -rw-r--r-- | Resources/leveldescriptions.fnt | 99 | ||||
| -rw-r--r-- | Resources/leveldescriptions.png | bin | 0 -> 7780 bytes | |||
| -rw-r--r-- | Resources/levelnames.fnt | 99 | ||||
| -rw-r--r-- | Resources/levelnames.png | bin | 0 -> 8652 bytes | |||
| -rw-r--r-- | Resources/paintdaubs.png | bin | 0 -> 276898 bytes | |||
| -rw-r--r-- | Resources/paris.png | bin | 0 -> 24164 bytes |
15 files changed, 469 insertions, 11 deletions
| diff --git a/Cartographic.xcodeproj/project.pbxproj b/Cartographic.xcodeproj/project.pbxproj index efe08b2..6676ba3 100755 --- a/Cartographic.xcodeproj/project.pbxproj +++ b/Cartographic.xcodeproj/project.pbxproj | |||
| @@ -105,6 +105,15 @@ | |||
| 105 | 6C29041213EAEC8A0032DA0F /* framestuff.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C29041113EAEC8A0032DA0F /* framestuff.png */; }; | 105 | 6C29041213EAEC8A0032DA0F /* framestuff.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C29041113EAEC8A0032DA0F /* framestuff.png */; }; |
| 106 | 6C39CFE013FC2708002B21AF /* tutorial.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFDF13FC2708002B21AF /* tutorial.png */; }; | 106 | 6C39CFE013FC2708002B21AF /* tutorial.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFDF13FC2708002B21AF /* tutorial.png */; }; |
| 107 | 6C39CFE213FC2713002B21AF /* tutorial2.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFE113FC2713002B21AF /* tutorial2.png */; }; | 107 | 6C39CFE213FC2713002B21AF /* tutorial2.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFE113FC2713002B21AF /* tutorial2.png */; }; |
| 108 | 6C39CFF313FD4F8B002B21AF /* GameModeSelection.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C39CFF213FD4F89002B21AF /* GameModeSelection.m */; }; | ||
| 109 | 6C39CFF513FD5526002B21AF /* paintdaubs.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFF413FD5526002B21AF /* paintdaubs.png */; }; | ||
| 110 | 6C39CFF813FD7638002B21AF /* GameModeSelectionLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C39CFF713FD7637002B21AF /* GameModeSelectionLayer.m */; }; | ||
| 111 | 6C39CFFB13FD7DDE002B21AF /* levelnames.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFF913FD7DDE002B21AF /* levelnames.fnt */; }; | ||
| 112 | 6C39CFFC13FD7DDE002B21AF /* levelnames.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFFA13FD7DDE002B21AF /* levelnames.png */; }; | ||
| 113 | 6C39D00813FD9037002B21AF /* florence.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39D00713FD9037002B21AF /* florence.png */; }; | ||
| 114 | 6C39D00B13FD933D002B21AF /* leveldescriptions.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 6C39D00913FD933D002B21AF /* leveldescriptions.fnt */; }; | ||
| 115 | 6C39D00C13FD933D002B21AF /* leveldescriptions.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39D00A13FD933D002B21AF /* leveldescriptions.png */; }; | ||
| 116 | 6C39D01213FD9945002B21AF /* paris.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39D01113FD9945002B21AF /* paris.png */; }; | ||
| 108 | 6C5179C613DF3839006F1F38 /* Morning1.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C5179C513DF3839006F1F38 /* Morning1.png */; }; | 117 | 6C5179C613DF3839006F1F38 /* Morning1.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C5179C513DF3839006F1F38 /* Morning1.png */; }; |
| 109 | 6CC89DD913F2F4E6003704F7 /* Entitlements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 6CC89DD813F2F4E6003704F7 /* Entitlements.plist */; }; | 118 | 6CC89DD913F2F4E6003704F7 /* Entitlements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 6CC89DD813F2F4E6003704F7 /* Entitlements.plist */; }; |
| 110 | 6CC89DDF13F31413003704F7 /* TutorialMode.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CC89DDE13F31413003704F7 /* TutorialMode.m */; }; | 119 | 6CC89DDF13F31413003704F7 /* TutorialMode.m in Sources */ = {isa = PBXBuildFile; fileRef = 6CC89DDE13F31413003704F7 /* TutorialMode.m */; }; |
| @@ -411,6 +420,17 @@ | |||
| 411 | 6C29041113EAEC8A0032DA0F /* framestuff.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = framestuff.png; sourceTree = "<group>"; }; | 420 | 6C29041113EAEC8A0032DA0F /* framestuff.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = framestuff.png; sourceTree = "<group>"; }; |
| 412 | 6C39CFDF13FC2708002B21AF /* tutorial.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = tutorial.png; sourceTree = "<group>"; }; | 421 | 6C39CFDF13FC2708002B21AF /* tutorial.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = tutorial.png; sourceTree = "<group>"; }; |
| 413 | 6C39CFE113FC2713002B21AF /* tutorial2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = tutorial2.png; sourceTree = "<group>"; }; | 422 | 6C39CFE113FC2713002B21AF /* tutorial2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = tutorial2.png; sourceTree = "<group>"; }; |
| 423 | 6C39CFF113FD4F87002B21AF /* GameModeSelection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameModeSelection.h; sourceTree = "<group>"; }; | ||
| 424 | 6C39CFF213FD4F89002B21AF /* GameModeSelection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameModeSelection.m; sourceTree = "<group>"; }; | ||
| 425 | 6C39CFF413FD5526002B21AF /* paintdaubs.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = paintdaubs.png; sourceTree = "<group>"; }; | ||
| 426 | 6C39CFF613FD7636002B21AF /* GameModeSelectionLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameModeSelectionLayer.h; sourceTree = "<group>"; }; | ||
| 427 | 6C39CFF713FD7637002B21AF /* GameModeSelectionLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameModeSelectionLayer.m; sourceTree = "<group>"; }; | ||
| 428 | 6C39CFF913FD7DDE002B21AF /* levelnames.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = levelnames.fnt; sourceTree = "<group>"; }; | ||
| 429 | 6C39CFFA13FD7DDE002B21AF /* levelnames.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = levelnames.png; sourceTree = "<group>"; }; | ||
| 430 | 6C39D00713FD9037002B21AF /* florence.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = florence.png; sourceTree = "<group>"; }; | ||
| 431 | 6C39D00913FD933D002B21AF /* leveldescriptions.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = leveldescriptions.fnt; sourceTree = "<group>"; }; | ||
| 432 | 6C39D00A13FD933D002B21AF /* leveldescriptions.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = leveldescriptions.png; sourceTree = "<group>"; }; | ||
| 433 | 6C39D01113FD9945002B21AF /* paris.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = paris.png; sourceTree = "<group>"; }; | ||
| 414 | 6C5179C513DF3839006F1F38 /* Morning1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Morning1.png; sourceTree = "<group>"; }; | 434 | 6C5179C513DF3839006F1F38 /* Morning1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Morning1.png; sourceTree = "<group>"; }; |
| 415 | 6CC89DD813F2F4E6003704F7 /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Entitlements.plist; sourceTree = "<group>"; }; | 435 | 6CC89DD813F2F4E6003704F7 /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Entitlements.plist; sourceTree = "<group>"; }; |
| 416 | 6CC89DDD13F31413003704F7 /* TutorialMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TutorialMode.h; sourceTree = "<group>"; }; | 436 | 6CC89DDD13F31413003704F7 /* TutorialMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TutorialMode.h; sourceTree = "<group>"; }; |
| @@ -712,6 +732,10 @@ | |||
| 712 | 3F03221813D7904E00E6A708 /* Highscore.m */, | 732 | 3F03221813D7904E00E6A708 /* Highscore.m */, |
| 713 | 6C29040E13EAEB590032DA0F /* TutorialBubble.h */, | 733 | 6C29040E13EAEB590032DA0F /* TutorialBubble.h */, |
| 714 | 6C29040F13EAEB590032DA0F /* TutorialBubble.m */, | 734 | 6C29040F13EAEB590032DA0F /* TutorialBubble.m */, |
| 735 | 6C39CFF113FD4F87002B21AF /* GameModeSelection.h */, | ||
| 736 | 6C39CFF213FD4F89002B21AF /* GameModeSelection.m */, | ||
| 737 | 6C39CFF613FD7636002B21AF /* GameModeSelectionLayer.h */, | ||
| 738 | 6C39CFF713FD7637002B21AF /* GameModeSelectionLayer.m */, | ||
| 715 | ); | 739 | ); |
| 716 | path = Classes; | 740 | path = Classes; |
| 717 | sourceTree = "<group>"; | 741 | sourceTree = "<group>"; |
| @@ -719,6 +743,7 @@ | |||
| 719 | 3F6C7F4C13D647AF00C038FE /* Backgrounds */ = { | 743 | 3F6C7F4C13D647AF00C038FE /* Backgrounds */ = { |
| 720 | isa = PBXGroup; | 744 | isa = PBXGroup; |
| 721 | children = ( | 745 | children = ( |
| 746 | 6C39CFF413FD5526002B21AF /* paintdaubs.png */, | ||
| 722 | 6C5179C513DF3839006F1F38 /* Morning1.png */, | 747 | 6C5179C513DF3839006F1F38 /* Morning1.png */, |
| 723 | 3F6C7F4A13D647A600C038FE /* GameOver.png */, | 748 | 3F6C7F4A13D647A600C038FE /* GameOver.png */, |
| 724 | 3F6C7F2313D63E6500C038FE /* SeaBeach.png */, | 749 | 3F6C7F2313D63E6500C038FE /* SeaBeach.png */, |
| @@ -752,6 +777,10 @@ | |||
| 752 | 3F6C7F5D13D648D300C038FE /* Fonts */ = { | 777 | 3F6C7F5D13D648D300C038FE /* Fonts */ = { |
| 753 | isa = PBXGroup; | 778 | isa = PBXGroup; |
| 754 | children = ( | 779 | children = ( |
| 780 | 6C39D00913FD933D002B21AF /* leveldescriptions.fnt */, | ||
| 781 | 6C39D00A13FD933D002B21AF /* leveldescriptions.png */, | ||
| 782 | 6C39CFF913FD7DDE002B21AF /* levelnames.fnt */, | ||
| 783 | 6C39CFFA13FD7DDE002B21AF /* levelnames.png */, | ||
| 755 | 3F7D0F3D13D8F0C800B6CE14 /* getoffthatboatrightnowyounglady.fnt */, | 784 | 3F7D0F3D13D8F0C800B6CE14 /* getoffthatboatrightnowyounglady.fnt */, |
| 756 | 3F7D0F3E13D8F0C800B6CE14 /* getoffthatboatrightnowyounglady.png */, | 785 | 3F7D0F3E13D8F0C800B6CE14 /* getoffthatboatrightnowyounglady.png */, |
| 757 | 3F6C7F5913D648CE00C038FE /* helvetica2.fnt */, | 786 | 3F6C7F5913D648CE00C038FE /* helvetica2.fnt */, |
| @@ -844,6 +873,7 @@ | |||
| 844 | 50F4144210692EE7002A0D5E /* Resources */ = { | 873 | 50F4144210692EE7002A0D5E /* Resources */ = { |
| 845 | isa = PBXGroup; | 874 | isa = PBXGroup; |
| 846 | children = ( | 875 | children = ( |
| 876 | 6C39D00513FD901A002B21AF /* Icons */, | ||
| 847 | 3F7D0EC713D8E6B000B6CE14 /* Buttons */, | 877 | 3F7D0EC713D8E6B000B6CE14 /* Buttons */, |
| 848 | 3F8395B713D744420059AEE8 /* cartdata.sqlite3 */, | 878 | 3F8395B713D744420059AEE8 /* cartdata.sqlite3 */, |
| 849 | 3F6C7F5D13D648D300C038FE /* Fonts */, | 879 | 3F6C7F5D13D648D300C038FE /* Fonts */, |
| @@ -875,6 +905,15 @@ | |||
| 875 | name = "Game Modes"; | 905 | name = "Game Modes"; |
| 876 | sourceTree = "<group>"; | 906 | sourceTree = "<group>"; |
| 877 | }; | 907 | }; |
| 908 | 6C39D00513FD901A002B21AF /* Icons */ = { | ||
| 909 | isa = PBXGroup; | ||
| 910 | children = ( | ||
| 911 | 6C39D01113FD9945002B21AF /* paris.png */, | ||
| 912 | 6C39D00713FD9037002B21AF /* florence.png */, | ||
| 913 | ); | ||
| 914 | name = Icons; | ||
| 915 | sourceTree = "<group>"; | ||
| 916 | }; | ||
| 878 | 6C5887E313EE3ED900B5A80A /* Items */ = { | 917 | 6C5887E313EE3ED900B5A80A /* Items */ = { |
| 879 | isa = PBXGroup; | 918 | isa = PBXGroup; |
| 880 | children = ( | 919 | children = ( |
| @@ -1363,6 +1402,13 @@ | |||
| 1363 | 6CC89DD913F2F4E6003704F7 /* Entitlements.plist in Resources */, | 1402 | 6CC89DD913F2F4E6003704F7 /* Entitlements.plist in Resources */, |
| 1364 | 6C39CFE013FC2708002B21AF /* tutorial.png in Resources */, | 1403 | 6C39CFE013FC2708002B21AF /* tutorial.png in Resources */, |
| 1365 | 6C39CFE213FC2713002B21AF /* tutorial2.png in Resources */, | 1404 | 6C39CFE213FC2713002B21AF /* tutorial2.png in Resources */, |
| 1405 | 6C39CFF513FD5526002B21AF /* paintdaubs.png in Resources */, | ||
| 1406 | 6C39CFFB13FD7DDE002B21AF /* levelnames.fnt in Resources */, | ||
| 1407 | 6C39CFFC13FD7DDE002B21AF /* levelnames.png in Resources */, | ||
| 1408 | 6C39D00813FD9037002B21AF /* florence.png in Resources */, | ||
| 1409 | 6C39D00B13FD933D002B21AF /* leveldescriptions.fnt in Resources */, | ||
| 1410 | 6C39D00C13FD933D002B21AF /* leveldescriptions.png in Resources */, | ||
| 1411 | 6C39D01213FD9945002B21AF /* paris.png in Resources */, | ||
| 1366 | ); | 1412 | ); |
| 1367 | runOnlyForDeploymentPostprocessing = 0; | 1413 | runOnlyForDeploymentPostprocessing = 0; |
| 1368 | }; | 1414 | }; |
| @@ -1407,6 +1453,8 @@ | |||
| 1407 | 6C0C141113F2099B003A31B2 /* Cart.m in Sources */, | 1453 | 6C0C141113F2099B003A31B2 /* Cart.m in Sources */, |
| 1408 | 6C0C141413F20E98003A31B2 /* GameMode.m in Sources */, | 1454 | 6C0C141413F20E98003A31B2 /* GameMode.m in Sources */, |
| 1409 | 6CC89DDF13F31413003704F7 /* TutorialMode.m in Sources */, | 1455 | 6CC89DDF13F31413003704F7 /* TutorialMode.m in Sources */, |
| 1456 | 6C39CFF313FD4F8B002B21AF /* GameModeSelection.m in Sources */, | ||
| 1457 | 6C39CFF813FD7638002B21AF /* GameModeSelectionLayer.m in Sources */, | ||
| 1410 | ); | 1458 | ); |
| 1411 | runOnlyForDeploymentPostprocessing = 0; | 1459 | runOnlyForDeploymentPostprocessing = 0; |
| 1412 | }; | 1460 | }; |
| diff --git a/Classes/GameModeSelection.h b/Classes/GameModeSelection.h new file mode 100644 index 0000000..aadbf36 --- /dev/null +++ b/Classes/GameModeSelection.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | // | ||
| 2 | // GameModeSelection.h | ||
| 3 | // Cartographic | ||
| 4 | // | ||
| 5 | // Created by Starla Insigna on 8/18/11. | ||
| 6 | // Copyright 2011 Four Island. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import "cocos2d.h" | ||
| 10 | |||
| 11 | @interface GameModeSelection : CCNode { | ||
| 12 | NSString* name; | ||
| 13 | NSString* location; | ||
| 14 | BOOL unlocked; | ||
| 15 | int highscore; | ||
| 16 | NSString* unlockCondition; | ||
| 17 | |||
| 18 | CCLabelBMFont* nameLabel; | ||
| 19 | CCSprite* picture; | ||
| 20 | CCLabelBMFont* otherLabel; | ||
| 21 | } | ||
| 22 | |||
| 23 | @property (readonly) NSString* name; | ||
| 24 | @property (readonly) NSString* location; | ||
| 25 | @property (readonly) BOOL unlocked; | ||
| 26 | @property (nonatomic,assign) int highscore; | ||
| 27 | @property (nonatomic,retain) NSString* unlockCondition; | ||
| 28 | - (id)initWithName:(NSString*)name location:(NSString*)location filename:(NSString*)filename unlocked:(BOOL)unlocked; | ||
| 29 | |||
| 30 | @end | ||
| diff --git a/Classes/GameModeSelection.m b/Classes/GameModeSelection.m new file mode 100644 index 0000000..56e65d9 --- /dev/null +++ b/Classes/GameModeSelection.m | |||
| @@ -0,0 +1,88 @@ | |||
| 1 | // | ||
| 2 | // GameModeSelection.m | ||
| 3 | // Cartographic | ||
| 4 | // | ||
| 5 | // Created by Starla Insigna on 8/18/11. | ||
| 6 | // Copyright 2011 Four Island. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import "GameModeSelection.h" | ||
| 10 | |||
| 11 | @implementation GameModeSelection | ||
| 12 | |||
| 13 | @synthesize name, location, unlocked, highscore, unlockCondition; | ||
| 14 | |||
| 15 | - (id)initWithName:(NSString*)m_name location:(NSString*)m_location filename:(NSString*)filename unlocked:(BOOL)m_unlocked; | ||
| 16 | { | ||
| 17 | self = [super init]; | ||
| 18 | |||
| 19 | if (nil != self) | ||
| 20 | { | ||
| 21 | self.anchorPoint = CGPointMake(0.5f, 0.5f); | ||
| 22 | |||
| 23 | name = m_name; | ||
| 24 | location = m_location; | ||
| 25 | unlocked = m_unlocked; | ||
| 26 | |||
| 27 | if (!unlocked) | ||
| 28 | { | ||
| 29 | name = [@"" stringByPaddingToLength:name.length withString:@"?" startingAtIndex:0]; | ||
| 30 | location = [@"" stringByPaddingToLength:location.length withString:@"?" startingAtIndex:0]; | ||
| 31 | } | ||
| 32 | |||
| 33 | nameLabel = [CCLabelBMFont labelWithString:[NSString stringWithFormat:@"%@ (%@)", location, name] fntFile:@"levelnames.fnt"]; | ||
| 34 | |||
| 35 | [self addChild:nameLabel]; | ||
| 36 | nameLabel.position = ccp(0, -32-nameLabel.contentSize.height); | ||
| 37 | |||
| 38 | UIImage* innerPicture = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:filename ofType:@"png"]]; | ||
| 39 | UIGraphicsBeginImageContext(CGSizeMake(128, 128)); | ||
| 40 | CGContextRef context = UIGraphicsGetCurrentContext(); | ||
| 41 | UIGraphicsPushContext(context); | ||
| 42 | |||
| 43 | if (unlocked) | ||
| 44 | { | ||
| 45 | [innerPicture drawInRect:CGRectMake(0, 0, 128, 128)]; | ||
| 46 | } else { | ||
| 47 | CGContextSetFillColorWithColor(context, [[UIColor whiteColor] CGColor]); | ||
| 48 | CGContextFillRect(context, CGRectMake(0, 0, 128, 128)); | ||
| 49 | [innerPicture drawInRect:CGRectMake(0, 0, 128, 128) blendMode:kCGBlendModeLuminosity alpha:1.0]; | ||
| 50 | } | ||
| 51 | |||
| 52 | UIGraphicsPopContext(); | ||
| 53 | CGImageRef innerPictureRef = [UIGraphicsGetImageFromCurrentImageContext() CGImage]; | ||
| 54 | UIGraphicsEndImageContext(); | ||
| 55 | |||
| 56 | picture = [CCSprite spriteWithCGImage:innerPictureRef key:filename]; | ||
| 57 | picture.position = ccp(0, 32); | ||
| 58 | [self addChild:picture]; | ||
| 59 | } | ||
| 60 | |||
| 61 | return self; | ||
| 62 | } | ||
| 63 | |||
| 64 | - (void)setHighscore:(int)m_highscore | ||
| 65 | { | ||
| 66 | if (unlocked) | ||
| 67 | { | ||
| 68 | highscore = m_highscore; | ||
| 69 | |||
| 70 | otherLabel = [CCLabelBMFont labelWithString:[NSString stringWithFormat:@"Highscore: %d", highscore] fntFile:@"leveldescriptions.fnt"]; | ||
| 71 | otherLabel.position = ccp(0, -32-nameLabel.contentSize.height-otherLabel.contentSize.height); | ||
| 72 | [self addChild:otherLabel]; | ||
| 73 | } | ||
| 74 | } | ||
| 75 | |||
| 76 | - (void)setUnlockCondition:(NSString *)m_unlockCondition | ||
| 77 | { | ||
| 78 | if (!unlocked) | ||
| 79 | { | ||
| 80 | unlockCondition = m_unlockCondition; | ||
| 81 | |||
| 82 | otherLabel = [CCLabelBMFont labelWithString:unlockCondition fntFile:@"leveldescriptions.fnt"]; | ||
| 83 | otherLabel.position = ccp(0, -32-nameLabel.contentSize.height-otherLabel.contentSize.height); | ||
| 84 | [self addChild:otherLabel]; | ||
| 85 | } | ||
| 86 | } | ||
| 87 | |||
| 88 | @end | ||
| diff --git a/Classes/GameModeSelectionLayer.h b/Classes/GameModeSelectionLayer.h new file mode 100644 index 0000000..2f57bfb --- /dev/null +++ b/Classes/GameModeSelectionLayer.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | // | ||
| 2 | // GameModeSelectionLayer.h | ||
| 3 | // Cartographic | ||
| 4 | // | ||
| 5 | // Created by Starla Insigna on 8/18/11. | ||
| 6 | // Copyright 2011 Four Island. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import "cocos2d.h" | ||
| 10 | |||
| 11 | @interface GameModeSelectionLayer : CCLayer | ||
| 12 | |||
| 13 | + (CCScene*)scene; | ||
| 14 | - (id)init; | ||
| 15 | - (void)mainmenu; | ||
| 16 | |||
| 17 | @end | ||
| diff --git a/Classes/GameModeSelectionLayer.m b/Classes/GameModeSelectionLayer.m new file mode 100644 index 0000000..3e1995e --- /dev/null +++ b/Classes/GameModeSelectionLayer.m | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | // | ||
| 2 | // GameModeSelectionLayer.m | ||
| 3 | // Cartographic | ||
| 4 | // | ||
| 5 | // Created by Starla Insigna on 8/18/11. | ||
| 6 | // Copyright 2011 Four Island. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import "GameModeSelectionLayer.h" | ||
| 10 | #import "GameModeSelection.h" | ||
| 11 | #import <sqlite3.h> | ||
| 12 | #import "Cart_CollectAppDelegate.h" | ||
| 13 | #import "MainMenuLayer.h" | ||
| 14 | |||
| 15 | @implementation GameModeSelectionLayer | ||
| 16 | |||
| 17 | + (CCScene*)scene | ||
| 18 | { | ||
| 19 | CCScene* scene = [CCScene node]; | ||
| 20 | |||
| 21 | CCLayer* backgroundLayer = [[[CCLayer alloc] init] autorelease]; | ||
| 22 | CCSprite* backgroundImage = [CCSprite spriteWithFile:@"paintdaubs.png"]; | ||
| 23 | backgroundImage.position = ccp(240,160); | ||
| 24 | [backgroundLayer addChild:backgroundImage]; | ||
| 25 | [scene addChild:backgroundLayer]; | ||
| 26 | |||
| 27 | GameModeSelectionLayer* layer = [GameModeSelectionLayer node]; | ||
| 28 | [scene addChild:layer]; | ||
| 29 | |||
| 30 | return scene; | ||
| 31 | } | ||
| 32 | |||
| 33 | - (id)init | ||
| 34 | { | ||
| 35 | self = [super init]; | ||
| 36 | |||
| 37 | if (nil != self) | ||
| 38 | { | ||
| 39 | // Initialization code here. | ||
| 40 | GameModeSelection* tutorialSelection = [[[GameModeSelection alloc] initWithName:@"Tutorial" location:@"Florence" filename:@"florence" unlocked:YES] autorelease]; | ||
| 41 | tutorialSelection.position = ccp(160-32,160); | ||
| 42 | [self addChild:tutorialSelection]; | ||
| 43 | |||
| 44 | NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; | ||
| 45 | GameModeSelection* collectSelection = [[[GameModeSelection alloc] initWithName:@"Collect" location:@"Paris" filename:@"paris" unlocked:[defaults boolForKey:@"hasDoneTutorial"]] autorelease]; | ||
| 46 | collectSelection.position = ccp(400-32, 160); | ||
| 47 | |||
| 48 | if (collectSelection.unlocked) | ||
| 49 | { | ||
| 50 | const char* sqlQuery = "SELECT * FROM highscores ORDER BY score DESC LIMIT 1"; | ||
| 51 | sqlite3_stmt* compiled_statement; | ||
| 52 | |||
| 53 | if (sqlite3_prepare_v2([Cart_CollectAppDelegate database], sqlQuery, -1, &compiled_statement, NULL) == SQLITE_OK) | ||
| 54 | { | ||
| 55 | if (sqlite3_step(compiled_statement) == SQLITE_ROW) | ||
| 56 | { | ||
| 57 | int score = sqlite3_column_int(compiled_statement, 2); | ||
| 58 | |||
| 59 | [collectSelection setHighscore:score]; | ||
| 60 | } | ||
| 61 | } | ||
| 62 | } else { | ||
| 63 | [collectSelection setUnlockCondition:@"Beat the tutorial!"]; | ||
| 64 | } | ||
| 65 | |||
| 66 | [self addChild:collectSelection]; | ||
| 67 | |||
| 68 | CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"back.png" selectedImage:@"back2.png" target:self selector:@selector(mainmenu)]; | ||
| 69 | CCMenu* myMenu = [CCMenu menuWithItems:newgameMenuItem, nil]; | ||
| 70 | myMenu.position = ccp(240, 30); | ||
| 71 | [self addChild:myMenu]; | ||
| 72 | } | ||
| 73 | |||
| 74 | return self; | ||
| 75 | } | ||
| 76 | |||
| 77 | - (void)mainmenu | ||
| 78 | { | ||
| 79 | [[CCDirector sharedDirector] replaceScene:[MainMenuLayer scene]]; | ||
| 80 | } | ||
| 81 | |||
| 82 | @end | ||
| diff --git a/Classes/MainMenuLayer.h b/Classes/MainMenuLayer.h index e43c5e1..d8483b3 100755 --- a/Classes/MainMenuLayer.h +++ b/Classes/MainMenuLayer.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | + (CCScene*)scene; | 16 | + (CCScene*)scene; |
| 17 | - (id)init; | 17 | - (id)init; |
| 18 | - (void)newgame; | 18 | - (void)newgame; |
| 19 | - (void)tutorial; | ||
| 20 | - (void)highscores; | 19 | - (void)highscores; |
| 21 | 20 | ||
| 22 | @end | 21 | @end |
| diff --git a/Classes/MainMenuLayer.m b/Classes/MainMenuLayer.m index 8b21fab..06a528c 100755 --- a/Classes/MainMenuLayer.m +++ b/Classes/MainMenuLayer.m | |||
| @@ -8,8 +8,7 @@ | |||
| 8 | 8 | ||
| 9 | #import "MainMenuLayer.h" | 9 | #import "MainMenuLayer.h" |
| 10 | #import "HighscoreListController.h" | 10 | #import "HighscoreListController.h" |
| 11 | #import "ClassicGameMode.h" | 11 | #import "GameModeSelectionLayer.h" |
| 12 | #import "TutorialMode.h" | ||
| 13 | #import "Cart_CollectAppDelegate.h" | 12 | #import "Cart_CollectAppDelegate.h" |
| 14 | 13 | ||
| 15 | @implementation MainMenuLayer | 14 | @implementation MainMenuLayer |
| @@ -45,10 +44,9 @@ | |||
| 45 | //CCMenuItemLabel* menuItem2 = [CCMenuItemLabel itemWithLabel:menuItemLabel2 target:self selector:@selector(highscores)]; | 44 | //CCMenuItemLabel* menuItem2 = [CCMenuItemLabel itemWithLabel:menuItemLabel2 target:self selector:@selector(highscores)]; |
| 46 | 45 | ||
| 47 | CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"newgame.png" selectedImage:@"newgame2.png" target:self selector:@selector(newgame)]; | 46 | CCMenuItemImage* newgameMenuItem = [CCMenuItemImage itemFromNormalImage:@"newgame.png" selectedImage:@"newgame2.png" target:self selector:@selector(newgame)]; |
| 48 | CCMenuItemImage* tutorialMenuItem = [CCMenuItemImage itemFromNormalImage:@"tutorial.png" selectedImage:@"tutorial2.png" target:self selector:@selector(tutorial)]; | ||
| 49 | CCMenuItemImage* highscoresMenuItem = [CCMenuItemImage itemFromNormalImage:@"highscores.png" selectedImage:@"highscores2.png" target:self selector:@selector(highscores)]; | 47 | CCMenuItemImage* highscoresMenuItem = [CCMenuItemImage itemFromNormalImage:@"highscores.png" selectedImage:@"highscores2.png" target:self selector:@selector(highscores)]; |
| 50 | 48 | ||
| 51 | CCMenu* menu = [CCMenu menuWithItems:newgameMenuItem, tutorialMenuItem, highscoresMenuItem, nil]; | 49 | CCMenu* menu = [CCMenu menuWithItems:newgameMenuItem, highscoresMenuItem, nil]; |
| 52 | [menu alignItemsVertically]; | 50 | [menu alignItemsVertically]; |
| 53 | menu.position = ccp(240, 100); | 51 | menu.position = ccp(240, 100); |
| 54 | [self addChild:menu]; | 52 | [self addChild:menu]; |
| @@ -59,12 +57,7 @@ | |||
| 59 | 57 | ||
| 60 | - (void)newgame | 58 | - (void)newgame |
| 61 | { | 59 | { |
| 62 | [[CCDirector sharedDirector] replaceScene:[ClassicGameMode scene]]; | 60 | [[CCDirector sharedDirector] replaceScene:[GameModeSelectionLayer scene]]; |
| 63 | } | ||
| 64 | |||
| 65 | - (void)tutorial | ||
| 66 | { | ||
| 67 | [[CCDirector sharedDirector] replaceScene:[TutorialMode scene]]; | ||
| 68 | } | 61 | } |
| 69 | 62 | ||
| 70 | - (void)highscores | 63 | - (void)highscores |
| 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."); |
| diff --git a/Resources/florence.png b/Resources/florence.png new file mode 100644 index 0000000..6ad85dc --- /dev/null +++ b/Resources/florence.png | |||
| Binary files differ | |||
| diff --git a/Resources/leveldescriptions.fnt b/Resources/leveldescriptions.fnt new file mode 100644 index 0000000..2cf1ce6 --- /dev/null +++ b/Resources/leveldescriptions.fnt | |||
| @@ -0,0 +1,99 @@ | |||
| 1 | info face="BitstreamVeraSansMono-Roman" size=16 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 | ||
| 2 | common lineHeight=19 base=15 scaleW=512 scaleH=512 pages=1 packed=0 | ||
| 3 | page id=0 file="leveldescriptions.png" | ||
| 4 | chars count=94 | ||
| 5 | char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=15 xadvance=10 page=0 chnl=0 | ||
| 6 | char id=124 x=0 y=0 width=3 height=18 xoffset=4 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 7 | char id=106 x=3 y=0 width=7 height=18 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 8 | char id=36 x=10 y=0 width=9 height=17 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 9 | char id=125 x=19 y=0 width=8 height=17 xoffset=2 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 10 | char id=123 x=27 y=0 width=8 height=17 xoffset=2 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 11 | char id=93 x=35 y=0 width=6 height=17 xoffset=3 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 12 | char id=91 x=41 y=0 width=5 height=17 xoffset=4 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 13 | char id=41 x=46 y=0 width=6 height=17 xoffset=3 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 14 | char id=40 x=52 y=0 width=5 height=17 xoffset=3 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 15 | char id=81 x=57 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 16 | char id=92 x=67 y=0 width=10 height=15 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 17 | char id=64 x=77 y=0 width=11 height=15 xoffset=0 yoffset=4 xadvance=10 page=0 chnl=0 | ||
| 18 | char id=47 x=88 y=0 width=10 height=15 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 19 | char id=100 x=98 y=0 width=10 height=15 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 20 | char id=98 x=108 y=0 width=9 height=15 xoffset=2 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 21 | char id=38 x=117 y=0 width=11 height=14 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 22 | char id=48 x=128 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 23 | char id=57 x=137 y=0 width=10 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 24 | char id=56 x=147 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 25 | char id=54 x=156 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 26 | char id=53 x=165 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 27 | char id=51 x=174 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 28 | char id=121 x=183 y=0 width=11 height=14 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 29 | char id=113 x=194 y=0 width=9 height=14 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 30 | char id=112 x=203 y=0 width=9 height=14 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 31 | char id=108 x=212 y=0 width=9 height=14 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 32 | char id=107 x=221 y=0 width=10 height=14 xoffset=2 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 33 | char id=105 x=231 y=0 width=9 height=14 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 34 | char id=104 x=240 y=0 width=9 height=14 xoffset=2 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 35 | char id=103 x=249 y=0 width=10 height=14 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 36 | char id=102 x=259 y=0 width=9 height=14 xoffset=2 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 37 | char id=85 x=268 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 38 | char id=83 x=277 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 39 | char id=79 x=286 y=0 width=10 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 40 | char id=74 x=296 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 41 | char id=71 x=305 y=0 width=10 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 42 | char id=67 x=315 y=0 width=9 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 43 | char id=35 x=324 y=0 width=11 height=13 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 44 | char id=37 x=335 y=0 width=11 height=13 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 45 | char id=59 x=346 y=0 width=4 height=13 xoffset=3 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 46 | char id=63 x=350 y=0 width=9 height=13 xoffset=2 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 47 | char id=33 x=359 y=0 width=3 height=13 xoffset=4 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 48 | char id=55 x=362 y=0 width=9 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 49 | char id=52 x=371 y=0 width=10 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 50 | char id=50 x=381 y=0 width=9 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 51 | char id=49 x=390 y=0 width=9 height=13 xoffset=2 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 52 | char id=116 x=399 y=0 width=9 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 53 | char id=90 x=408 y=0 width=10 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 54 | char id=89 x=418 y=0 width=11 height=13 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 55 | char id=88 x=429 y=0 width=11 height=13 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 56 | char id=87 x=440 y=0 width=11 height=13 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 57 | char id=86 x=451 y=0 width=11 height=13 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 58 | char id=84 x=462 y=0 width=11 height=13 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 59 | char id=82 x=473 y=0 width=10 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 60 | char id=80 x=483 y=0 width=9 height=13 xoffset=2 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 61 | char id=78 x=492 y=0 width=9 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 62 | char id=77 x=501 y=0 width=10 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 63 | char id=76 x=0 y=18 width=9 height=13 xoffset=2 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 64 | char id=75 x=9 y=18 width=10 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 65 | char id=73 x=19 y=18 width=9 height=13 xoffset=2 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 66 | char id=72 x=28 y=18 width=9 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 67 | char id=70 x=37 y=18 width=9 height=13 xoffset=2 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 68 | char id=69 x=46 y=18 width=9 height=13 xoffset=2 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 69 | char id=68 x=55 y=18 width=9 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 70 | char id=66 x=64 y=18 width=9 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 71 | char id=65 x=73 y=18 width=11 height=13 xoffset=0 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 72 | char id=43 x=84 y=18 width=10 height=11 xoffset=1 yoffset=5 xadvance=10 page=0 chnl=0 | ||
| 73 | char id=117 x=94 y=18 width=9 height=11 xoffset=2 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 74 | char id=115 x=103 y=18 width=9 height=11 xoffset=2 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 75 | char id=111 x=112 y=18 width=9 height=11 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 76 | char id=101 x=121 y=18 width=10 height=11 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 77 | char id=99 x=131 y=18 width=9 height=11 xoffset=2 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 78 | char id=97 x=140 y=18 width=9 height=11 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 79 | char id=58 x=149 y=18 width=4 height=10 xoffset=4 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 80 | char id=122 x=153 y=18 width=9 height=10 xoffset=2 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 81 | char id=120 x=162 y=18 width=11 height=10 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 82 | char id=119 x=173 y=18 width=11 height=10 xoffset=0 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 83 | char id=118 x=184 y=18 width=10 height=10 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 84 | char id=114 x=194 y=18 width=9 height=10 xoffset=3 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 85 | char id=110 x=203 y=18 width=9 height=10 xoffset=2 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 86 | char id=109 x=212 y=18 width=10 height=10 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 87 | char id=42 x=222 y=18 width=9 height=9 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 88 | char id=62 x=231 y=18 width=10 height=9 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 89 | char id=60 x=241 y=18 width=10 height=9 xoffset=1 yoffset=6 xadvance=10 page=0 chnl=0 | ||
| 90 | char id=61 x=251 y=18 width=10 height=7 xoffset=1 yoffset=7 xadvance=10 page=0 chnl=0 | ||
| 91 | char id=44 x=261 y=18 width=4 height=7 xoffset=3 yoffset=12 xadvance=10 page=0 chnl=0 | ||
| 92 | char id=94 x=265 y=18 width=11 height=6 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 93 | char id=39 x=276 y=18 width=3 height=6 xoffset=4 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 94 | char id=34 x=279 y=18 width=6 height=6 xoffset=3 yoffset=3 xadvance=10 page=0 chnl=0 | ||
| 95 | char id=126 x=285 y=18 width=10 height=5 xoffset=1 yoffset=8 xadvance=10 page=0 chnl=0 | ||
| 96 | char id=96 x=295 y=18 width=5 height=5 xoffset=2 yoffset=2 xadvance=10 page=0 chnl=0 | ||
| 97 | char id=45 x=300 y=18 width=6 height=4 xoffset=3 yoffset=9 xadvance=10 page=0 chnl=0 | ||
| 98 | char id=46 x=306 y=18 width=4 height=4 xoffset=4 yoffset=12 xadvance=10 page=0 chnl=0 | ||
| 99 | char id=95 x=310 y=18 width=9 height=2 xoffset=0 yoffset=18 xadvance=10 page=0 chnl=0 | ||
| diff --git a/Resources/leveldescriptions.png b/Resources/leveldescriptions.png new file mode 100644 index 0000000..c4ca55b --- /dev/null +++ b/Resources/leveldescriptions.png | |||
| Binary files differ | |||
| diff --git a/Resources/levelnames.fnt b/Resources/levelnames.fnt new file mode 100644 index 0000000..026b009 --- /dev/null +++ b/Resources/levelnames.fnt | |||
| @@ -0,0 +1,99 @@ | |||
| 1 | info face="BitstreamVeraSansMono-BoldOb" size=18 bold=1 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 | ||
| 2 | common lineHeight=22 base=17 scaleW=512 scaleH=512 pages=1 packed=0 | ||
| 3 | page id=0 file="levelnames.png" | ||
| 4 | chars count=94 | ||
| 5 | char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=17 xadvance=11 page=0 chnl=0 | ||
| 6 | char id=124 x=0 y=0 width=4 height=20 xoffset=4 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 7 | char id=106 x=4 y=0 width=8 height=20 xoffset=1 yoffset=2 xadvance=11 page=0 chnl=0 | ||
| 8 | char id=36 x=12 y=0 width=10 height=18 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 9 | char id=125 x=22 y=0 width=10 height=18 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 10 | char id=123 x=32 y=0 width=10 height=18 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 11 | char id=93 x=42 y=0 width=7 height=18 xoffset=3 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 12 | char id=91 x=49 y=0 width=7 height=18 xoffset=4 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 13 | char id=41 x=56 y=0 width=7 height=18 xoffset=3 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 14 | char id=40 x=63 y=0 width=7 height=18 xoffset=3 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 15 | char id=81 x=70 y=0 width=12 height=18 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 16 | char id=92 x=82 y=0 width=11 height=17 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 17 | char id=64 x=93 y=0 width=12 height=17 xoffset=0 yoffset=4 xadvance=11 page=0 chnl=0 | ||
| 18 | char id=47 x=105 y=0 width=11 height=17 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 19 | char id=38 x=116 y=0 width=12 height=16 xoffset=0 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 20 | char id=48 x=128 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 21 | char id=57 x=138 y=0 width=11 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 22 | char id=56 x=149 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 23 | char id=54 x=159 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 24 | char id=53 x=169 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 25 | char id=51 x=179 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 26 | char id=113 x=189 y=0 width=11 height=16 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 27 | char id=112 x=200 y=0 width=11 height=16 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 28 | char id=105 x=211 y=0 width=11 height=16 xoffset=1 yoffset=2 xadvance=11 page=0 chnl=0 | ||
| 29 | char id=103 x=222 y=0 width=11 height=16 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 30 | char id=100 x=233 y=0 width=11 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 31 | char id=98 x=244 y=0 width=11 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 32 | char id=85 x=255 y=0 width=11 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 33 | char id=83 x=266 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 34 | char id=79 x=276 y=0 width=12 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 35 | char id=74 x=288 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 36 | char id=71 x=298 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 37 | char id=67 x=308 y=0 width=10 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 38 | char id=63 x=318 y=0 width=9 height=15 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 39 | char id=33 x=327 y=0 width=4 height=15 xoffset=4 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 40 | char id=55 x=331 y=0 width=10 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 41 | char id=52 x=341 y=0 width=12 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 42 | char id=50 x=353 y=0 width=10 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 43 | char id=49 x=363 y=0 width=10 height=15 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 44 | char id=121 x=373 y=0 width=12 height=15 xoffset=1 yoffset=7 xadvance=11 page=0 chnl=0 | ||
| 45 | char id=108 x=385 y=0 width=11 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 46 | char id=107 x=396 y=0 width=11 height=15 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 47 | char id=104 x=407 y=0 width=10 height=15 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 48 | char id=102 x=417 y=0 width=10 height=15 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 49 | char id=90 x=427 y=0 width=11 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 50 | char id=89 x=438 y=0 width=12 height=15 xoffset=0 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 51 | char id=88 x=450 y=0 width=12 height=15 xoffset=0 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 52 | char id=87 x=462 y=0 width=12 height=15 xoffset=0 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 53 | char id=86 x=474 y=0 width=12 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 54 | char id=84 x=486 y=0 width=12 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 55 | char id=82 x=498 y=0 width=11 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 56 | char id=80 x=0 y=20 width=11 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 57 | char id=78 x=11 y=20 width=10 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 58 | char id=77 x=21 y=20 width=12 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 59 | char id=76 x=33 y=20 width=11 height=15 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 60 | char id=75 x=44 y=20 width=11 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 61 | char id=73 x=55 y=20 width=10 height=15 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 62 | char id=72 x=65 y=20 width=10 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 63 | char id=70 x=75 y=20 width=10 height=15 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 64 | char id=69 x=85 y=20 width=10 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 65 | char id=68 x=95 y=20 width=11 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 66 | char id=66 x=106 y=20 width=11 height=15 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 67 | char id=65 x=117 y=20 width=12 height=15 xoffset=0 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 68 | char id=35 x=129 y=20 width=12 height=14 xoffset=0 yoffset=4 xadvance=11 page=0 chnl=0 | ||
| 69 | char id=37 x=141 y=20 width=12 height=14 xoffset=0 yoffset=4 xadvance=11 page=0 chnl=0 | ||
| 70 | char id=59 x=153 y=20 width=5 height=14 xoffset=3 yoffset=7 xadvance=11 page=0 chnl=0 | ||
| 71 | char id=116 x=158 y=20 width=11 height=14 xoffset=1 yoffset=4 xadvance=11 page=0 chnl=0 | ||
| 72 | char id=115 x=169 y=20 width=10 height=13 xoffset=2 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 73 | char id=111 x=179 y=20 width=11 height=13 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 74 | char id=101 x=190 y=20 width=12 height=13 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 75 | char id=99 x=202 y=20 width=10 height=13 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 76 | char id=97 x=212 y=20 width=11 height=13 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 77 | char id=43 x=223 y=20 width=12 height=12 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 78 | char id=62 x=235 y=20 width=12 height=12 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 79 | char id=60 x=247 y=20 width=12 height=12 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 80 | char id=117 x=259 y=20 width=10 height=12 xoffset=1 yoffset=7 xadvance=11 page=0 chnl=0 | ||
| 81 | char id=114 x=269 y=20 width=10 height=12 xoffset=3 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 82 | char id=110 x=279 y=20 width=10 height=12 xoffset=2 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 83 | char id=109 x=289 y=20 width=12 height=12 xoffset=1 yoffset=6 xadvance=11 page=0 chnl=0 | ||
| 84 | char id=58 x=301 y=20 width=5 height=11 xoffset=4 yoffset=7 xadvance=11 page=0 chnl=0 | ||
| 85 | char id=122 x=306 y=20 width=10 height=11 xoffset=1 yoffset=7 xadvance=11 page=0 chnl=0 | ||
| 86 | char id=120 x=316 y=20 width=12 height=11 xoffset=0 yoffset=7 xadvance=11 page=0 chnl=0 | ||
| 87 | char id=119 x=328 y=20 width=12 height=11 xoffset=0 yoffset=7 xadvance=11 page=0 chnl=0 | ||
| 88 | char id=118 x=340 y=20 width=12 height=11 xoffset=1 yoffset=7 xadvance=11 page=0 chnl=0 | ||
| 89 | char id=42 x=352 y=20 width=10 height=10 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 90 | char id=61 x=362 y=20 width=12 height=8 xoffset=1 yoffset=8 xadvance=11 page=0 chnl=0 | ||
| 91 | char id=44 x=374 y=20 width=5 height=8 xoffset=3 yoffset=13 xadvance=11 page=0 chnl=0 | ||
| 92 | char id=94 x=379 y=20 width=12 height=7 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 93 | char id=39 x=391 y=20 width=4 height=7 xoffset=4 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 94 | char id=34 x=395 y=20 width=8 height=7 xoffset=2 yoffset=3 xadvance=11 page=0 chnl=0 | ||
| 95 | char id=126 x=403 y=20 width=12 height=5 xoffset=1 yoffset=9 xadvance=11 page=0 chnl=0 | ||
| 96 | char id=45 x=415 y=20 width=8 height=5 xoffset=3 yoffset=10 xadvance=11 page=0 chnl=0 | ||
| 97 | char id=46 x=423 y=20 width=5 height=5 xoffset=4 yoffset=13 xadvance=11 page=0 chnl=0 | ||
| 98 | char id=96 x=428 y=20 width=7 height=5 xoffset=2 yoffset=2 xadvance=11 page=0 chnl=0 | ||
| 99 | char id=95 x=435 y=20 width=12 height=4 xoffset=0 yoffset=19 xadvance=11 page=0 chnl=0 | ||
| diff --git a/Resources/levelnames.png b/Resources/levelnames.png new file mode 100644 index 0000000..1b3d082 --- /dev/null +++ b/Resources/levelnames.png | |||
| Binary files differ | |||
| diff --git a/Resources/paintdaubs.png b/Resources/paintdaubs.png new file mode 100644 index 0000000..9eb5995 --- /dev/null +++ b/Resources/paintdaubs.png | |||
| Binary files differ | |||
| diff --git a/Resources/paris.png b/Resources/paris.png new file mode 100644 index 0000000..59d95af --- /dev/null +++ b/Resources/paris.png | |||
| Binary files differ | |||
