Game Over (Solved)

Started by HSIAMetalKing, Thu 17/01/2008 01:42:03

Previous topic - Next topic

HSIAMetalKing

This is probably a question that is asked a lot-- although I did run a search through the forums, the wiki, and the F1 help file and couldn't come up with an answer.

What is the most common method for creating a "game over" screen, during which appears a "save/load" option? Specifically, I want the screen to appear when a character steps off off screen in a particular direction.

I'm very new to AGS, so I'll appreciate any help I can get-- even if it's just a direction to a resource where I can read the answer.

Baron

Why would you save if the game was over? ;)

Basically you should think of death as just another place ->a room.  When I am making a game I always save my death room as room66, so I don't have to think of it when I send the player there (i.e. player.ChangeRoom (66); -the coordinates don't matter for reasons discussed next).  Room 66 doesn't show the player character (an option in the editor) and usually has objects representing buttons, or sometimes hotspots over pictures of the buttons that I've put in the background image.  The one that says "LOAD" would have a script attached under the "Any click on Object" or "Any click on Hotspot" with RestoreGameDialog ();     Room 66 also usually has a witty message saying that you died, and in my games there's usually a picture of the main character at the moment of death, just for fun, but you could do anything you put your mind to.

Baron


HSIAMetalKing

Phew, I thought the answer would confuse me. I get how it works now-- thanks so much!

Ilmion

Personnaly, I would like the dead the of character to be in the same you. Exemple : The guy receive a bullet and drop on the floor; it could happen in any room.

In order to present the options to the player, I would have DEADGUI that I make visible in case of the player death.

SMF spam blocked by CleanTalk