1
Technical forum / Savegame thumbnails
« on: March 08, 2008, 12:16:05 PM »
I have savegame thumbnails activated for my project, and it works like a charm with one exception. When you overwrite a previous savegame everything but the thumbnail is updated. The thumbnail retains the old image no matter how often you save over it. However, if the game is restarted (i.e. quit and started up again) the correct thumbnails are there. Is there some caching going on that I need to deactivate?
I'm using static controls for the thumbnails and fill them with via savegame:x. As the savegames are in a scrolling list and the static controls are updated perfectly while scrolling, I don't think that this is the problem:
I tried the Game.StoreSaveThumbnail() and Game.DeleteSaveThumbnail() methods, but they don't fix the caching problem.
How can I deactive the cache or reload the thumbnails everytime the save / load screen pops up?
I'm using static controls for the thumbnails and fill them with via savegame:x. As the savegames are in a scrolling list and the static controls are updated perfectly while scrolling, I don't think that this is the problem:
Code: [Select]
thumb = self.GetControl("thumbnail_" + (i+1));
thumb.SetImage("savegame:" + (ScrollOffset+i));
I tried the Game.StoreSaveThumbnail() and Game.DeleteSaveThumbnail() methods, but they don't fix the caching problem.
How can I deactive the cache or reload the thumbnails everytime the save / load screen pops up?