summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Added play again button to game over screenStarla Insigna2011-09-092-5/+35
| | | | Closes #218
* Disabled swiping during selection screen transitionStarla Insigna2011-09-091-0/+1
| | | | Fixes #219
* Fixed negative lives behaviorStarla Insigna2011-09-092-2/+2
| | | | | | The negative lives glitch was being caused by players being killed by two different things at once--a.k.a. being hit by a rock and falling off a ledge in Jump. The problem was that both game modes would only show the game over screen if the player had zero lives, not for negative lives. This has been fixed. Fixes #220
* Jump: Fixed zero-width ledge bugStarla Insigna2011-09-051-1/+5
| | | | | | While this had no affect on the player, the game would sometimes randomly generate zero-width ledges when spawning ledges, which caused a whole ton of problems with the graphic generation and CCTexture2D and was the reason that the console was spammed with so many error messages when nothing bad seemed to be happening. The game would output the errors, drop the zero-width ledge and continue on as if nothing had happened. Fixes #217
* Prevented objects from spawning directly above you on the wave in Jump v0.4.4Starla Insigna2011-09-051-3/+65
| | | | Closes #216
* Made general memory fixesStarla Insigna2011-09-054-7/+23
| | | | | | This revision should also hopefully fix the undefined behavior GameOverScene bug--if it, I'll reopen the ticket and continue investigating. Fixes #215
* Added default ledges to JumpStarla Insigna2011-09-051-0/+6
| | | | | | Previously, in Jump, when the game mode was created, one static ledge would always be generated safely under the player, and then when tick was first called, it would fill in the rest of the screen with ledges. While this did use to work fine, now that the game modes transition in, the player can see the ledges being added in when the transition ends so now there are two default ledges present when the level starts. Refs #204
* Added zoom/fade transition to selection screenStarla Insigna2011-09-054-3/+94
| | | | Refs #207
* Made game automatically pause when resigning active stateStarla Insigna2011-09-051-7/+7
| | | | Previously, the game paused when it entered the background. Now, it pauses when the game is about to become inactive, which is the proper thing to do.
* Fixed jumping while paused in Jump modeStarla Insigna2011-09-052-10/+23
| | | | Refs #204 and fixes #214
* Tweaked difficulty of Jump modeStarla Insigna2011-09-052-42/+10
| | | | | | The rate of dropped items now increases progressively like the speed of ledge scrolling. The scores at which two rocks and three rocks start appearing have also doubled. Refs #204
* Added back support for the armv6 architecture v0.4.3Starla Insigna2011-09-041-3/+12
|
* Fixed display of Jump mode highscoresStarla Insigna2011-09-041-2/+2
| | | | Refs #204
* Updated Jump unlocking condition message v0.4.2Starla Insigna2011-09-041-1/+1
| | | | Refs #204
* Decreased Jump unlocking score to 3000Starla Insigna2011-09-041-6/+9
| | | | Refs #204
* Fixed a bug that submitted Jump highscores to the Collect global highscore list v0.4.1Starla Insigna2011-09-041-1/+8
| | | | Refs #204
* Added Jump lists to highscore viewer v0.4Starla Insigna2011-09-042-12/+47
| | | | Refs #204
* Pulled in jump modeStarla Insigna2011-09-043-5/+13
|\
| * Upgraded TestFlight SDK to v0.6Starla Insigna2011-09-023-5/+13
| |
* | Pulled in jump modeStarla Insigna2011-09-041-1/+1
|\|
| * Fixed selection screen highscore label bugStarla Insigna2011-08-251-1/+1
| | | | | | | | | | | | This is pretty much the same as the bug that was fixed in r15--CCSprite textures need different cache keys when they change, otherwise they won't change. Fixes #212
* | Implemented Jump mode (BETA) jumpStarla Insigna2011-09-0412-21/+423
| | | | | | | | | | | | Dear god this is beta. I think I'll release a build for the testers soon so I can see what people think and then hammer out the bugs. Refs #204
* | Added Jump to selection screenStarla Insigna2011-08-2510-10/+816
| | | | | | | | | | | | 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
* | Merged in changes from default branchStarla Insigna2011-08-246-0/+148
|\ \ | |/ |/|
| * Improved jumping gesture detectionStarla Insigna2011-08-172-7/+6
| | | | | | | | | | | | Previously, when determining if the player had swiped upward for a jump in the Jump game mode, the game checked that the player had touched and moved upward a certain amount, with less than a certain amount of variance in horizontal position. However, this did not work well with the deeply-ingrained rotation aspect of the game, so the game was programmed to widen this allowed horizontal variance when the device was rotated. This really did not work too well, so now the game calculates an "expected" angle from the bottom of the screen based on rotation that it determines to point upward and also the angle of the player's swipe from the bottom of the screen. If the swipe angle falls within 45 degrees (Ď€/4 radians) of the expected angle, the cart jumps. Really quite awesome if you ask me. :P Refs #204
| * Started Jump game modeStarla Insigna2011-08-178-1/+158
| | | | | | | | | | | | So far, Jump exists as a blank world where the player can control the cart (including the ability to jump by swiping upwards) and where the water level rises for a bit and then falls, taking the cart with it. Refs #204
* | Added support for multiple local highscore listsStarla Insigna2011-08-249-90/+117
| | | | | | | | | | | | This revision increments the database version to 2. Also fixed a small problem with GameModeSelection that aligned the highscore text incorrectly.
* | Removed short version string from Info.plistStarla Insigna2011-08-231-2/+0
| | | | | | | | From now on, so build releasing isn't so awkward, the short version string should not be contained in source control. Before releasing a build, you must add the short version string to the Info.plist, archive the build and then remove the string from the plist again so it doesn't accidentally get committed.
* | Added game quitting safeguard to pause screen (version 0.3.1) v0.3.1Starla Insigna2011-08-236-11/+22
| | | | | | | | | | | | 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
* | Added pause checks to GameModeStarla Insigna2011-08-232-9/+21
| | | | | | | | | | | | Now GameMode actually checks if it's already paused before pausing. Fixes #210
* | 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
* | Pulled in level selection screen (version 0.3) v0.3Starla Insigna2011-08-239-6/+165
|\ \ | | | | | | | | | Closes #207
| * | Integrated TestFlight SDKStarla Insigna2011-08-228-5/+164
| | | | | | | | | | | | See https://testflightapp.com/sdk/doc/
* | | Added a UIPageControl to the level selection screen selection_screenStarla Insigna2011-08-235-3/+21
| | | | | | | | | | | | | | | | | | 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-2312-27/+360
| | | | | | | | | | | | | | | | | | | | | | | | 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-2210-277/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Made game mode selections tappableStarla Insigna2011-08-183-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both the Tutorial and Collect game mode selections can now be tapped to start playing the mode. Holding your finger down on a game mode darkens the image, to give the player feedback on the fact that they are touching a button. This only applies to unlocked game modes--not-yet-unlocked game modes are just sprites, not buttons, and do not react to touch. Note that the game mode does not yet transition in with the zoom in/fade in transition combo that is specified in the ticket. Also fixed a bug that would, if the player hadn't yet unlocked Collect and then played the Tutorial, continue to show the grayscale Collect image even though the button was completely working and tappable. Also changed Tutorial Mode to bring the player to the game mode selection screen upon completion instead of the main menu. Refs #207
* | | Started game mode selection screenStarla Insigna2011-08-1815-11/+469
|/ / | | | | | | | | | | 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
* | Renamed project to "Cartographic"Starla Insigna2011-08-183-14/+14
| | | | | | | | Closes #206
* | Fixed "Game Over" tutorial bubble related bugsStarla Insigna2011-08-171-14/+31
|/ | | | | | Previously, Tutorial Mode decided whether to display the "Game Over" bubble in the setLives method, which is called before the FallingObjectDelegate methods. This caused two bugs: A) showing a tutorial bubble pauses the scheduler and the didMissItem method would under certain circumstances attempt to schedule a delayed action, causing the game to stop processing the tick and jump to showing the tutorial bubble without removing the falling object. When the tutorial bubble got dismissed, tick would be restarted and the player would lose another life. B) didDestroyItem under certain circumstances would attempt to show a tutorial bubble and if the "Game Over" tutorial bubble had already been set, it would be overwritten with the new tutorial bubble, resulting in the "Game Over" tutorial bubble never being shown. Both of these bugs have been fixed by moving the "Game Over" bubble code out of setLives and into didDestroyItem. Fixes #203, #205
* Made tutorial replayableStarla Insigna2011-08-179-42/+22
| | | | Closes #202
* Fixed game over transitionStarla Insigna2011-08-154-43/+43
| | | | Fixes #189
* Added automatic versioningStarla Insigna2011-08-133-71/+74
| | | | | | A shell script that is run before building now automatically sets the build number of the package to the current revision number, plus a value that increments on every build if the code is dirty (a.k.a. has been modified since being committed). Also changed the project to automatically use the correct provisioning profile when codesigning instead of having to change it every time the provisioning profile changed.
* Added tutorial modeStarla Insigna2011-08-1220-348/+792
| | | | | | | | GameLayer was also renamed to ClassicGameMode and its pause functionality and score/lives counters were moved out to GameMode. FallingObjectDelegate was created to allow for custom code to be run when items were caught/missed, something that is used extensively by tutorial mode. Important: Cart Collect's bundle identifier was changed in this revision from com.fourisland.Cart-Collect to com.apatheticink.Cart-Collect, so ensure that before attempting to compile/run this build, you clear your build directory and remove the old version of Cart Collect from your device. Closes #193
* Prepared Cart Collect for legitimate developmentStarla Insigna2011-08-102-17/+94
| | | | Previously, as we did not possess an Apple Developer Account, Cart Collect was configured to easily allow jailbroken development and testing. However, as we now have a developer account, this is no longer necessary and Cart Collect has been configured to codesign legitimately.
* Abstracted a lot of GameLayer's functionality outStarla Insigna2011-08-0923-178/+374
| | | | | | | | In order to prepare for tutorial mode (and eventually, the other game modes), a lot of GameLayer's functionality (reading the accelerometer, moving the cart, moving falling objects, reacting to collisions…) has been abstracted out to FallingObject and subclasses of FallingObject, as well as a new Cart class, and GameMode, a new superclass of GameLayer. The only things that were not abstracted out that probably will be in the future are the pause functionality and the tutorial bubble functionality (which will in fact be moved to the tutorial mode class). A lot of work was also done to cut down on compiler warnings and a lot of #imports were moved from header files to implementation files because I realized THAT'S HOW YOU'RE SUPPOSED TO DO IT. Refs #193
* Disabled autorotationStarla Insigna2011-08-091-1/+1
| | | | | | Interesting to note is that, for some reason, the code is calling Landscape Left "Landscape Right". This worries me and makes me think that either I'm not quite sure about the names of the orientations, or that my code is doing something weird. Fixes #194
* Implemented tutorial bubblesStarla Insigna2011-08-079-115/+329
| | | | | | | | GameLayer now has support for pausing game flow and displaying a tutorial bubble that the user can tap to dismiss. No code has been written, however, to make use of this, because I think it may be simpler to abstract GameLayer out somewhat and create a separate game mode for the tutorial. Deliberation required. PauseLayer has also been removed and the behavior has been brought into GameLayer. Refs #193
* Fixed highscore viewer bugStarla Insigna2011-08-011-1/+2
| | | | | | For some reason, the cocos2d controller doesn't like being set as the root view controller, it just likes having its view added to the window as a subview, so that is now what is done. Fixes #191