diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-08-23 07:52:24 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-08-23 07:52:24 -0400 |
commit | c9337218ef1660360097928c753bde1c79775618 (patch) | |
tree | 3cd6f9926cbe092c98776673800b830eef27ca01 /Cartographic.xcodeproj/project.pbxproj | |
parent | 2ac50443ddbf69b7594808ba4e6de49eecbc0b84 (diff) | |
download | cartcollect-c9337218ef1660360097928c753bde1c79775618.tar.gz cartcollect-c9337218ef1660360097928c753bde1c79775618.tar.bz2 cartcollect-c9337218ef1660360097928c753bde1c79775618.zip |
Added scrolling to level selection screen
Using http://www.xcombinator.com/2010/09/08/a-paging-uiscrollview-in-cocos2d-with-previews/ as a base, I was able to implement a paging scroller for the level selection screen so players can swipe through available levels and choose one to play. At this point, the level selection screen is practically done--the only other thing I want to add is a UIPageControl to interact with the scrolling and give the player an indication of how many levels there are. Refs #207
Diffstat (limited to 'Cartographic.xcodeproj/project.pbxproj')
-rwxr-xr-x | Cartographic.xcodeproj/project.pbxproj | 40 |
1 files changed, 34 insertions, 6 deletions
diff --git a/Cartographic.xcodeproj/project.pbxproj b/Cartographic.xcodeproj/project.pbxproj index cda609e..59cf7cd 100755 --- a/Cartographic.xcodeproj/project.pbxproj +++ b/Cartographic.xcodeproj/project.pbxproj | |||
@@ -102,6 +102,9 @@ | |||
102 | 6C0C141113F2099B003A31B2 /* Cart.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C0C141013F2099B003A31B2 /* Cart.m */; }; | 102 | 6C0C141113F2099B003A31B2 /* Cart.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C0C141013F2099B003A31B2 /* Cart.m */; }; |
103 | 6C0C141413F20E98003A31B2 /* GameMode.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C0C141313F20E98003A31B2 /* GameMode.m */; }; | 103 | 6C0C141413F20E98003A31B2 /* GameMode.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C0C141313F20E98003A31B2 /* GameMode.m */; }; |
104 | 6C18C3CA1402AD9C0005AA4C /* UIImage+ColorMasking.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C18C3C91402AD9C0005AA4C /* UIImage+ColorMasking.m */; }; | 104 | 6C18C3CA1402AD9C0005AA4C /* UIImage+ColorMasking.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C18C3C91402AD9C0005AA4C /* UIImage+ColorMasking.m */; }; |
105 | 6C18C3D214033DC50005AA4C /* CocosOverlayScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C18C3CD14033DC10005AA4C /* CocosOverlayScrollView.m */; }; | ||
106 | 6C18C3D314033DC60005AA4C /* NMPanelMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C18C3CF14033DC30005AA4C /* NMPanelMenu.m */; }; | ||
107 | 6C18C3D414033DC60005AA4C /* TouchDelegatingView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C18C3D114033DC40005AA4C /* TouchDelegatingView.m */; }; | ||
105 | 6C29041013EAEB590032DA0F /* TutorialBubble.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C29040F13EAEB590032DA0F /* TutorialBubble.m */; }; | 108 | 6C29041013EAEB590032DA0F /* TutorialBubble.m in Sources */ = {isa = PBXBuildFile; fileRef = 6C29040F13EAEB590032DA0F /* TutorialBubble.m */; }; |
106 | 6C29041213EAEC8A0032DA0F /* framestuff.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C29041113EAEC8A0032DA0F /* framestuff.png */; }; | 109 | 6C29041213EAEC8A0032DA0F /* framestuff.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C29041113EAEC8A0032DA0F /* framestuff.png */; }; |
107 | 6C39CFE013FC2708002B21AF /* tutorial.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFDF13FC2708002B21AF /* tutorial.png */; }; | 110 | 6C39CFE013FC2708002B21AF /* tutorial.png in Resources */ = {isa = PBXBuildFile; fileRef = 6C39CFDF13FC2708002B21AF /* tutorial.png */; }; |
@@ -414,6 +417,12 @@ | |||
414 | 6C0C141313F20E98003A31B2 /* GameMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameMode.m; sourceTree = "<group>"; }; | 417 | 6C0C141313F20E98003A31B2 /* GameMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GameMode.m; sourceTree = "<group>"; }; |
415 | 6C18C3C81402AD9C0005AA4C /* UIImage+ColorMasking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+ColorMasking.h"; sourceTree = "<group>"; }; | 418 | 6C18C3C81402AD9C0005AA4C /* UIImage+ColorMasking.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+ColorMasking.h"; sourceTree = "<group>"; }; |
416 | 6C18C3C91402AD9C0005AA4C /* UIImage+ColorMasking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+ColorMasking.m"; sourceTree = "<group>"; }; | 419 | 6C18C3C91402AD9C0005AA4C /* UIImage+ColorMasking.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+ColorMasking.m"; sourceTree = "<group>"; }; |
420 | 6C18C3CC14033DBF0005AA4C /* CocosOverlayScrollView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CocosOverlayScrollView.h; sourceTree = "<group>"; }; | ||
421 | 6C18C3CD14033DC10005AA4C /* CocosOverlayScrollView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CocosOverlayScrollView.m; sourceTree = "<group>"; }; | ||
422 | 6C18C3CE14033DC20005AA4C /* NMPanelMenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NMPanelMenu.h; sourceTree = "<group>"; }; | ||
423 | 6C18C3CF14033DC30005AA4C /* NMPanelMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NMPanelMenu.m; sourceTree = "<group>"; }; | ||
424 | 6C18C3D014033DC40005AA4C /* TouchDelegatingView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TouchDelegatingView.h; sourceTree = "<group>"; }; | ||
425 | 6C18C3D114033DC40005AA4C /* TouchDelegatingView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TouchDelegatingView.m; sourceTree = "<group>"; }; | ||
417 | 6C29040E13EAEB590032DA0F /* TutorialBubble.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TutorialBubble.h; sourceTree = "<group>"; }; | 426 | 6C29040E13EAEB590032DA0F /* TutorialBubble.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TutorialBubble.h; sourceTree = "<group>"; }; |
418 | 6C29040F13EAEB590032DA0F /* TutorialBubble.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TutorialBubble.m; sourceTree = "<group>"; }; | 427 | 6C29040F13EAEB590032DA0F /* TutorialBubble.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TutorialBubble.m; sourceTree = "<group>"; }; |
419 | 6C29041113EAEC8A0032DA0F /* framestuff.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = framestuff.png; sourceTree = "<group>"; }; | 428 | 6C29041113EAEC8A0032DA0F /* framestuff.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = framestuff.png; sourceTree = "<group>"; }; |
@@ -427,6 +436,7 @@ | |||
427 | 6C39D00713FD9037002B21AF /* florence.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = florence.png; sourceTree = "<group>"; }; | 436 | 6C39D00713FD9037002B21AF /* florence.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = florence.png; sourceTree = "<group>"; }; |
428 | 6C39D01113FD9945002B21AF /* paris.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = paris.png; sourceTree = "<group>"; }; | 437 | 6C39D01113FD9945002B21AF /* paris.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = paris.png; sourceTree = "<group>"; }; |
429 | 6C5179C513DF3839006F1F38 /* Morning1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Morning1.png; sourceTree = "<group>"; }; | 438 | 6C5179C513DF3839006F1F38 /* Morning1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Morning1.png; sourceTree = "<group>"; }; |
439 | 6CB532581403BA4F00780A5E /* GameModeSelectionDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameModeSelectionDelegate.h; sourceTree = "<group>"; }; | ||
430 | 6CC89DD813F2F4E6003704F7 /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Entitlements.plist; sourceTree = "<group>"; }; | 440 | 6CC89DD813F2F4E6003704F7 /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Entitlements.plist; sourceTree = "<group>"; }; |
431 | 6CC89DDD13F31413003704F7 /* TutorialMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TutorialMode.h; sourceTree = "<group>"; }; | 441 | 6CC89DDD13F31413003704F7 /* TutorialMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TutorialMode.h; sourceTree = "<group>"; }; |
432 | 6CC89DDE13F31413003704F7 /* TutorialMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TutorialMode.m; sourceTree = "<group>"; }; | 442 | 6CC89DDE13F31413003704F7 /* TutorialMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TutorialMode.m; sourceTree = "<group>"; }; |
@@ -710,6 +720,7 @@ | |||
710 | 2D500B1D0D5A766B00DBA0E3 /* Classes */ = { | 720 | 2D500B1D0D5A766B00DBA0E3 /* Classes */ = { |
711 | isa = PBXGroup; | 721 | isa = PBXGroup; |
712 | children = ( | 722 | children = ( |
723 | 6CB532561403492E00780A5E /* Selection Screen */, | ||
713 | 6C0C141513F211C7003A31B2 /* Game Modes */, | 724 | 6C0C141513F211C7003A31B2 /* Game Modes */, |
714 | 6C5887E313EE3ED900B5A80A /* Items */, | 725 | 6C5887E313EE3ED900B5A80A /* Items */, |
715 | E0F81035120A173C005866B8 /* GameConfig.h */, | 726 | E0F81035120A173C005866B8 /* GameConfig.h */, |
@@ -727,12 +738,6 @@ | |||
727 | 3F03221813D7904E00E6A708 /* Highscore.m */, | 738 | 3F03221813D7904E00E6A708 /* Highscore.m */, |
728 | 6C29040E13EAEB590032DA0F /* TutorialBubble.h */, | 739 | 6C29040E13EAEB590032DA0F /* TutorialBubble.h */, |
729 | 6C29040F13EAEB590032DA0F /* TutorialBubble.m */, | 740 | 6C29040F13EAEB590032DA0F /* TutorialBubble.m */, |
730 | 6C39CFF113FD4F87002B21AF /* GameModeSelection.h */, | ||
731 | 6C39CFF213FD4F89002B21AF /* GameModeSelection.m */, | ||
732 | 6C39CFF613FD7636002B21AF /* GameModeSelectionLayer.h */, | ||
733 | 6C39CFF713FD7637002B21AF /* GameModeSelectionLayer.m */, | ||
734 | 6C18C3C81402AD9C0005AA4C /* UIImage+ColorMasking.h */, | ||
735 | 6C18C3C91402AD9C0005AA4C /* UIImage+ColorMasking.m */, | ||
736 | ); | 741 | ); |
737 | path = Classes; | 742 | path = Classes; |
738 | sourceTree = "<group>"; | 743 | sourceTree = "<group>"; |
@@ -929,6 +934,26 @@ | |||
929 | name = Items; | 934 | name = Items; |
930 | sourceTree = "<group>"; | 935 | sourceTree = "<group>"; |
931 | }; | 936 | }; |
937 | 6CB532561403492E00780A5E /* Selection Screen */ = { | ||
938 | isa = PBXGroup; | ||
939 | children = ( | ||
940 | 6C39CFF113FD4F87002B21AF /* GameModeSelection.h */, | ||
941 | 6C39CFF213FD4F89002B21AF /* GameModeSelection.m */, | ||
942 | 6C39CFF613FD7636002B21AF /* GameModeSelectionLayer.h */, | ||
943 | 6C39CFF713FD7637002B21AF /* GameModeSelectionLayer.m */, | ||
944 | 6C18C3C81402AD9C0005AA4C /* UIImage+ColorMasking.h */, | ||
945 | 6C18C3C91402AD9C0005AA4C /* UIImage+ColorMasking.m */, | ||
946 | 6C18C3CC14033DBF0005AA4C /* CocosOverlayScrollView.h */, | ||
947 | 6C18C3CD14033DC10005AA4C /* CocosOverlayScrollView.m */, | ||
948 | 6C18C3CE14033DC20005AA4C /* NMPanelMenu.h */, | ||
949 | 6C18C3CF14033DC30005AA4C /* NMPanelMenu.m */, | ||
950 | 6C18C3D014033DC40005AA4C /* TouchDelegatingView.h */, | ||
951 | 6C18C3D114033DC40005AA4C /* TouchDelegatingView.m */, | ||
952 | 6CB532581403BA4F00780A5E /* GameModeSelectionDelegate.h */, | ||
953 | ); | ||
954 | name = "Selection Screen"; | ||
955 | sourceTree = "<group>"; | ||
956 | }; | ||
932 | E02BBB19126CC2F5006E46A2 /* cocos2d */ = { | 957 | E02BBB19126CC2F5006E46A2 /* cocos2d */ = { |
933 | isa = PBXGroup; | 958 | isa = PBXGroup; |
934 | children = ( | 959 | children = ( |
@@ -1445,6 +1470,9 @@ | |||
1445 | 6C39CFF313FD4F8B002B21AF /* GameModeSelection.m in Sources */, | 1470 | 6C39CFF313FD4F8B002B21AF /* GameModeSelection.m in Sources */, |
1446 | 6C39CFF813FD7638002B21AF /* GameModeSelectionLayer.m in Sources */, | 1471 | 6C39CFF813FD7638002B21AF /* GameModeSelectionLayer.m in Sources */, |
1447 | 6C18C3CA1402AD9C0005AA4C /* UIImage+ColorMasking.m in Sources */, | 1472 | 6C18C3CA1402AD9C0005AA4C /* UIImage+ColorMasking.m in Sources */, |
1473 | 6C18C3D214033DC50005AA4C /* CocosOverlayScrollView.m in Sources */, | ||
1474 | 6C18C3D314033DC60005AA4C /* NMPanelMenu.m in Sources */, | ||
1475 | 6C18C3D414033DC60005AA4C /* TouchDelegatingView.m in Sources */, | ||
1448 | ); | 1476 | ); |
1449 | runOnlyForDeploymentPostprocessing = 0; | 1477 | runOnlyForDeploymentPostprocessing = 0; |
1450 | }; | 1478 | }; |