Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: WHAM on Fri 01/08/2008 09:24:07

Title: Pausing the game, while remaining functional (SOLVED)
Post by: WHAM on Fri 01/08/2008 09:24:07
This may be a silly question, but I can't seem to find a way to do the following:

I need to pause the game: stop all animations in their tracks, if an animation was running, I want the animation to stop to the frame it was in.

While the game is paused, I want to be able to take input from the player, allow the player to interact with GUI's and so on.

And finally, I need to be able to continue running the game from where it left.

EXAMPLE SCENARIO: Player is being attacked by a monster. The game automatically pauses, allowing the player to select an appropriate action from a GUI that opens automatically, and then continues seamlessly from where it left, with the new information it gained from the player.

How is this done? I'm pretty sure there is a code to do this, but I cant find it... :(
Title: Re: Pausing the game, while remaining functional
Post by: Mazoliin on Fri 01/08/2008 09:26:55
Isn't that the default behaviour of a popup gui?
Title: Re: Pausing the game, while remaining functional
Post by: WHAM on Fri 01/08/2008 10:05:16
Is it? I'm just getting into designing my GUI first, and thought it was a specific function or something like that...
Title: Re: Pausing the game, while remaining functional
Post by: Khris on Fri 01/08/2008 11:31:22
Where's RTFM-Maaaan!?
Title: Re: Pausing the game, while remaining functional
Post by: WHAM on Fri 01/08/2008 11:51:28
Quote from: KhrisMUC on Fri 01/08/2008 11:31:22
Where's RTFM-Maaaan!?

I will NOT read the entire manual, and I thought it was a different function! Therefore I have been looking for it in the wrong place! Mrraaawrgh!!!

>:3   <- A lion! RUN before it eats you alive!
Title: Re: Pausing the game, while remaining functional
Post by: Akatosh on Fri 01/08/2008 13:34:00
(http://i8.photobucket.com/albums/a23/FAMILIAR_QUEST/majeisticjky.png)

I think we can return to less retarded behaviour now... or do we have to go through the O RLY routine first? I forgot.