Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added pause checks to GameMode | Starla Insigna | 2011-08-23 | 1 | -0/+3 |
| | | | | | | Now GameMode actually checks if it's already paused before pausing. Fixes #210 | ||||
* | Added tutorial mode | Starla Insigna | 2011-08-12 | 1 | -2/+17 |
| | | | | | | | | 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 | ||||
* | Abstracted a lot of GameLayer's functionality out | Starla Insigna | 2011-08-09 | 1 | -0/+27 |
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 |