Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: andrea on Thu 23/12/2004 10:07:21

Title: end of game [ALREADY SOLVED]
Post by: andrea on Thu 23/12/2004 10:07:21
Lets suppose I finished a game. How do I get the game to stop, when it is playerd through and return to windows?
Title: Re: end of game
Post by: Gilbert on Thu 23/12/2004 10:12:04
Just call the QuitGame() function, it's in the manual.
Title: Re: end of game
Post by: Lava on Thu 23/12/2004 13:23:42
For better issues make a room for an ending then make a button and hotspot of whenever mouse click restart the WHOLE application and return to the main menu :).
Title: Re: end of game
Post by: Ishmael on Thu 23/12/2004 14:35:43
...restarting with RestartGame() function.

I'd do it like said, make a GUI or a room where the player is presented with the options to Restart and Quit
Title: Re: end of game
Post by: deadsuperhero on Thu 23/12/2004 19:11:44
Another cool thing you can do is if the player gets a perfect score, a minigame opens up or something like that. I don't know how to do that, I only am suggesting it.
Title: Re: end of game
Post by: TerranRich on Fri 24/12/2004 00:38:00
Already in the BFAQ: http://bfaq.terran-x.com/#graphics13 and I added that last paragraph to it, too. Perhaps I should move that question to a more appropriate category or re-word the question on the page.

Either way, please check all resources and the AGS manual before asking questions.