Version: 1.0.0 (using 4.1.3 (KDE 4.1.3), Debian packages) Compiler: cc OS: Linux (i686) release 2.6.26-custom Please provide a Game Save option like ksokoban. KBreakout is an awesome game and would be much more awesome if I can save and resume the levels.
No sorry, that wouldn't do for this kind of game. KSokoban is a puzzle game, it's main goal is to solve puzzles, in KBreakout the goal is to get as much points as possible starting with a certain number of lives and from the first level. Having the ability to save in KBreakout would be a bit like having the ability to save in Tetris.
I have to disagree, what if i've been playing for two hours, have highest score up to date but have to leave? A save option to continue later is what i want in tha very moment
Ok, one option I didn't think of is to be able to reload a saved game only once. Or another way to think of it is to pause the game and resume on next restart. Else it becomes too easy to cheat. I suppose it would be still easy to work around the restriction, but well... it's free software after all one can do with it what one likes.
Come on. You're restricting on how the user should play. The focus should be more on the game play and the game experience. If I have to cheat the game, I'd not play it often. And starting something from the very beginning, after I've spent 2 hrs, is just going to bore me and keep away from playing it again. And thanks for the game. I think I have played the Windows/Web version of it and really like it in KDE.
*** Bug 203951 has been marked as a duplicate of this bug. ***
Created attachment 38607 [details] Adds a "save game when closing kbreakout" option In short: The values "level", "lives" and "score" is stored in three new values in "settings.h" every time a level is completed. When KBreakout is closed the user is asked if he wants to save the game. If the game is saved, KBreakout starts with the level, that was active, when KBreakout was closed. The score and number of lives are set to value, when this level was started. The GeneralSettings have the option to "Save automatically", "Ask" or "Close without saving" as RadioButtons. The answer is stored in "dontAskSaveOnClose" (wich is used by the "dont show this message again"-checkbox) and in "Settings:saveOnClose" (to keep the ConfigDialog consistent with choices made when the "dontAskAgain"-checkbox was activated). These two are synchronized, in loadSettings() (activated, when the "settingsChanged" signal is emitted) and when the questionDialog is closed (and the dontAskAgain checkBox has been activated).
Created attachment 38818 [details] update - the first patch missed one variable to store In the first patch, i missed one variable, that has to be stored: m_elapsedTime, which counts the seconds since the game was started. This value is shown in the higscores.