Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Sat 15/06/2013 20:26:44

Title: SOLVED: Saved Games not showing in gRestoreGame at start of game
Post by: Slasher on Sat 15/06/2013 20:26:44
Hi

I have a question about loading saved games.

At the start (splash screen), when I open the RestoreGame GUI it does not show any saves yet in-game it does.

Can you think of any reasons as to why this should be?

cheers

EDIT

Code (AGS) Select

gRestoreGame.Visible=true;
show_restore_game_dialog(); // HAD TO ADD THIS BIT
gRestoreGame.TweenPosition(0.5,70, 86, eEaseOutTween, eBlockTween);



Title: Re: Saved Games not showing in gRestoreGame at start of game
Post by: Ghost on Sat 15/06/2013 20:33:42
Are you using any template? If the GUI keeps a list of savegames this list must be filled somewhere, and it is possible that you are opening it BEFORE it ever got filled.

[edit]
Oh, right  ;)
Title: Re: SOLVED: Saved Games not showing in gRestoreGame at start of game
Post by: Slasher on Sat 15/06/2013 20:37:24
Hi Ghost,

Using normal Default.

Quoteand it is possible that you are opening it BEFORE it ever got filled.
No. I saved the game at some point, quit, opened game again and save was not there.

It appears ok now as above post.

cheers

slasher