Changes between Initial Version and Version 1 of Ticket #10133, comment 6

03/07/18 03:41:11 (6 years ago)


  • Ticket #10133, comment 6

    initial v1  
    1 Currently, whenever the player exits the game in progress for any reason (Quit, Return to Launcher, Load), any unsaved changes will be lost without warning. This puts the onus back on the player to remember to save before exiting the game. In my opinion, this is really poor form.
    3 Where a save mechanism is available, it makes sense to prompt the player to save any unsaved changes when it's most needed.
    5 If the feature already exists or is pending, then that's great, but if not, here's the basic concept as I see it:
    6 - monitoring of unsaved changes.
    7 - an appropriate dialog to alert the player & initiate the save (if required).
    8 - identify the player actions to activate the feature.
    10 **1. Unsaved changes.**
    11 A property (**_saveChanges**) should be established & initialised/set to **false** in these situations:
    12 - starting a new game.
    13 - loading a saved game.
    14 - after completing a save.
    15 This property is set to **true** by the first valid mouse, or keyboard navigation, event (something changes) that follows any of these situations. Supporting this with an appropriate conditional statement avoids unnecessary resets (for example, if !_saveChanges then set _saveChanges to true).
    17 **2. Dialog.**
    18 The dialog should contain a simple message & three buttons:
    19 *Message: **Save changes?**
    20 *Buttons (left to right):
    21 - **Cancel**: return to game.
    22 - **Don't Save**: continue player exit call.
    23 - **Save**: open usual Save screen, then, if save completed: continue player exit call.
    24 Cancelling in either the Save or Load screen should always return to the game.
    25 This guarantees that the player can only exit a game without saving unsaved changes by clicking **Don't Save**, the desired result.
    27 **3. Trigger actions.**
    28 Dialog should only appear **if _saveChanges is true**.
    29 If true, then any of these player initiated exit calls:
    30 - **Global Main Menu (Ctrl-F5):** Quit, Load, Return to Launcher.
    31 - **Keyboard:** Cmd-Q (Quit on Mac OS X) & its equivalent on other platforms.
    32 If a game has its own unique menu, then:
    33 - **Game Menu:** Quit, Load.
    35 No doubt, implementing this feature is probably more complex than it appears here, but then, this isn't a trivial request, so I hope it's viewed favourably.
    37 As an end user, I'd expect this as a standard feature for ''any'' game with save support. As such, there's an expectation of built-in protection against ''any'' predictable loss of unsaved changes.
    39 Please don't leave games vulnerable to what is basically an avoidable error.
    41 Thanks for your consideration.
     1Text deleted. Carried forward as description for #10134.