summary refs log tree commit diff stats
path: root/Classes/GameModeSelectionLayer.m
Commit message (Collapse)AuthorAgeFilesLines
* Updated Jump unlocking condition message v0.4.2Starla Insigna2011-09-041-1/+1
| | | | Refs #204
* Added Jump to selection screenStarla Insigna2011-08-251-0/+15
| | | | | | It currently uses a temporary picture and is unlockable after reaching 5000 points in Collect, at which point a little notification appears at the top of the screen telling you that you've unlocked a new game mode. Also fixed a bug in GameMode with the iteration of objects that would cause the rest of tick to not be called because objects were removed from the set while it was being iterated over. Refs #204
* Added support for multiple local highscore listsStarla Insigna2011-08-241-13/+1
| | | | | | This revision increments the database version to 2. Also fixed a small problem with GameModeSelection that aligned the highscore text incorrectly.
* Added game quitting safeguard to pause screen (version 0.3.1) v0.3.1Starla Insigna2011-08-231-3/+0
| | | | | | Also replaced instances of the term "Cart Collect" in Tutorial with "Cartographic". Also modified level selection screen to remember your position in the list rather than simply the last mode you'd played. Closes #211
* Fixed level selection screen Main Menu buttonStarla Insigna2011-08-231-1/+2
| | | | Fixes #209
* Reorganized level selection layerStarla Insigna2011-08-231-6/+14
| | | | | | I'm not really sure how, though I suspect it has something to do with the onEnterTransitionDidFinish and onExit methods, but this seems to fix the bug in which tapping on Collect immediately after playing Tutorial would cause Tutorial to play again. Fixes #208
* Added a UIPageControl to the level selection screen selection_screenStarla Insigna2011-08-231-1/+8
| | | | | | The page control updates when you swipe through the levels, but tapping it does nothing. I initially attempted to implement scrolling by tapping on the page control, but for some reason, it worked perfectly in the simulator and only randomly on the iPhone. Very weird. Refs #207
* Added scrolling to level selection screenStarla Insigna2011-08-231-9/+57
| | | | | | | | 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
* Added borders to level selection imagesStarla Insigna2011-08-221-7/+8
| | | | | | | | | | The image for each level selection now has a tutorial bubble-esque border around it, which was achieved using image masking. The border is included in the graying-out effect when the image is being tapped, and it is also included in the grayscaling when the level is not yet unlocked. Also rewrote most of the selection drawing code. The titles are now drawn above the image, with Quartz instead of Cocos2D. The highscore label is also drawn with Quartz, though it is still below the image. The unlock condition label no longer appears, and instead, locked levels are now tappable and tapping them shows an alert view containing the unlock condition. Will probably be changed to be more elegant later. Really, the biggest thing left before the selection screen is done is the ability to scroll through levels. The background also needs changing, but that will come later once I recruit a graphics designer. :P Refs #207
* Started game mode selection screenStarla Insigna2011-08-181-0/+82
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