diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-08-17 21:10:55 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-08-17 21:10:55 -0400 |
commit | 93f26235d891b7558aaf8aa0353104cdec3609c9 (patch) | |
tree | 33936e2b5a34817daf444358f2dbb2c5c56f09f2 /Cart Collect.xcodeproj | |
parent | fee8d3506b4c2f6d5933a85181de9bb8e6f5fcc4 (diff) | |
download | cartcollect-93f26235d891b7558aaf8aa0353104cdec3609c9.tar.gz cartcollect-93f26235d891b7558aaf8aa0353104cdec3609c9.tar.bz2 cartcollect-93f26235d891b7558aaf8aa0353104cdec3609c9.zip |
Fixed "Game Over" tutorial bubble related bugs
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
Diffstat (limited to 'Cart Collect.xcodeproj')
0 files changed, 0 insertions, 0 deletions