Never ending enemies

How do you make it so that you can never kill all the enemies, so like the game would never end. I am making a shoot em up game, and I am trying to make it so that you can never end the game because the enemies just keep on coming.

And something that records how many enemies the player killed before he got shot and died.

This post has been edited by gamingstaff : 27 March 2005 - 04:47 PM

First, create a global called something like "NPCs Slain", then, open up your NPC file and go to the "map" tab. At the very bottom, there is one word; "death". Click the edit button next to it. Then, add a "change globals" action in which the game adds one to your "NPCs Slain" global. Then, add an "NPC Control" action, and make it do this:

Add (insert name here) random in map.

Voilá, as the french people say. Infinite gameplay!

Edit: you could, of course, put in coordinates instead of "random in map". This would come in handy if you wanted all of them to spawn at the same location, a portal maybe?

This post has been edited by Ledorax : 27 March 2005 - 06:02 PM

Thanks a bunch man. I would've just asked you over iChat but you weren't on, so I had to make a topic because I need that game done! new mini game I am making, called Shoot 'em UP! I am done now!

shameless self promo:

ASCII Shooter Beta
mac http://www.ellrx.com/asciibeta/as.sit (507k)
pc http://www.ellrx.com/asciibeta/as.zip (512k)

fun with guns...weeee Posted Image

This post has been edited by ellrx : 29 March 2005 - 07:56 PM

and what is that?????

gamingstaff, on Mar 31 2005, 09:45 PM, said:

and what is that?????View Post

that's my game with neverending blasting action wave after wave of insane SOBs waiting to die!!!!!!!ASCII Shooter Betamac http://www.ellrx.com/asciibeta/as.sit (507k)pc http://www.ellrx.com/asciibeta/as.zip (512k)

Well could I use some of those sounds =D