settlers-remake icon indicating copy to clipboard operation
settlers-remake copied to clipboard

Savegame notification

Open ebmh opened this issue 7 years ago • 4 comments

Show a notification when game is saved after pressing F2.

ebmh avatar Jun 23 '17 16:06 ebmh

This is a good idea. The android version already shows a Toast when you save the game.

However, it shows the toast when you click the save button, not when the game has been correctly saved. (Would be better if the game could say that the save has completed successfully)

I have noticed a bug where if you save the game and then quit quickly, you cannot resume the game properly. (Settlers fly around in straight lines, probably in the direction they were going when you.clicked save)

This is probably more common on android where computation is.much slower than on a PC. PC saves probably happen almost instantly but on slower android devices this doesn't seem to be the case

tom-pratt avatar Jun 23 '17 23:06 tom-pratt

The game should probably freeze until the save has successfully completed

tom-pratt avatar Jun 23 '17 23:06 tom-pratt

I agree, we will need to provide a callback mechanism to tell the UI that saving the game has been finished successfully.

andreas-eberle avatar Jun 27 '17 10:06 andreas-eberle

You can use a normal message for this, like the attacked message. This will then show up on both Android and Swing.

michaelzangl avatar Jun 27 '17 12:06 michaelzangl