Pausing the game, while remaining functional (SOLVED)

Started by WHAM, Fri 01/08/2008 09:24:07

Previous topic - Next topic

WHAM

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... :(
Wrongthinker and anticitizen one. Utterly untrustworthy. Pending removal to memory hole.

Mazoliin

Isn't that the default behaviour of a popup gui?

WHAM

Is it? I'm just getting into designing my GUI first, and thought it was a specific function or something like that...
Wrongthinker and anticitizen one. Utterly untrustworthy. Pending removal to memory hole.

Khris


WHAM

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!
Wrongthinker and anticitizen one. Utterly untrustworthy. Pending removal to memory hole.

Akatosh



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

SMF spam blocked by CleanTalk