How to Kill a Player ?

Started by justplaincarol, Thu 21/08/2003 16:52:39

Previous topic - Next topic

justplaincarol

This may be a big duh ... but I can't find the info anywhere in beginners help or tutorials.  How do I "kill" my player when s/he screws up ?  I want to explain why they died and offer the options to quit/restart/restore.

In a related question - how do I end my game when the player wins ?

Scummbuddy

- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

justplaincarol

Thanks for the info.  I was trying to look up "Kill", not die, so I didn't find anything.

Presumably, winning the game could be accomplished in a similar manner - only with a friendlier room  :)

JPC

TerranRich

I'm adding this into the Beginners' FAQ if it isn't in there already.
Status: Trying to come up with some ideas...

Ishmael

To end the game in he point you want just put QuitGame(0); That will quit the game without asking from the player.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

jannar85

Quote from: justplaincarol on Thu 21/08/2003 18:07:45
Thanks for the info.  I was trying to look up "Kill", not die, so I didn't find anything.

Presumably, winning the game could be accomplished in a similar manner - only with a friendlier room  :)

JPC
I feel this hasn't been answered yet. Do an animation of the character being killed, OR make a pop-up appear which tells us that the character has been killed. Then finish the whole thing with a QuitGame(0); - Which will quit the game without any dialogboxes.
Veteran, writer... with loads of unreleased games. Work in progress.

TerranRich

It's in the FAQ already. Also, what if the player wants to restore a game or restart? Does he need to open up the game again, go through whatever intro there is, and restore? My idea is better :)
Status: Trying to come up with some ideas...

Monk

hmmm i think you should create an animation for the character.. and then the caracter visualization must be turned off and you may start with the new character or end the game!  ???

damn!

SMF spam blocked by CleanTalk