Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: redfox on September 07, 2016, 12:25:02 PM

Title: Game.StoreSaveThumbnail(). - loosing tumbnail image
Post by: redfox on September 07, 2016, 12:25:02 PM
Hi,

I capture the save game thumbnail with  - Game.StoreSaveThumbnail();    before then changing to the menu scene.

Player can save and the correct thumbnail is saved first time, but I don’t automatically return to the game after save, and if the player saves again to a new (or over a save game), the thumbnail used is that of the menu screen, and not the thumbnail previously captured 'ingame'.

Does Game.StoreSaveThumbnail() automatically clear during the save process? If so how can I get around that or stop it?

Thanks

Title: Re: Game.StoreSaveThumbnail(). - loosing tumbnail image
Post by: eborr on September 08, 2016, 05:53:44 PM
I might be able to help if I could see the code, if you would care to share  :)
Title: Re: Game.StoreSaveThumbnail(). - loosing tumbnail image
Post by: redfox on September 24, 2016, 02:07:54 AM
The only thing newer I thing I am using is
Code: [Select]
Game.StoreSaveThumbnail(); the rest is based on the old 3d demo still.
Title: Re: Game.StoreSaveThumbnail(). - loosing tumbnail image
Post by: eborr on September 24, 2016, 11:08:14 PM
The only thing newer I thing I am using is
Code: [Select]
Game.StoreSaveThumbnail(); the rest is based on the old 3d demo still.

Yes but have you considered where you have added the code might be pertinent.

- As regards the menu screen saving that's interesting because when you save using the standard means, the system take a screen save with the menu window removed.

- A couple of suggestions,

1. do you get a similar set of events occurring without the StoreSaveGame() method, by that I mean, you save the game once, it works first time, then when you try a second save the thumbnail shows the menu.

2 - the 3d demo uses a different and rather more involved approach to menu systems than the other demo systems - I think you should experiment with the standard wme demo to see if you get the same effect.

3. And this is a guess, you might want to try to re-initialise the thumbnail with delete thumbnail to see if this has an effect