summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* Initial commit (version 0.2.1)Starla Insigna2011-07-30273-0/+55001