Keeping enemies dead when re-entering a room?
Hey all,
So I have a top down shooter with multiple room and doors on each wall to enter and exit from. The rooms have enemies in them. How can I set it up so that when I re-enter a previous room the enemies are still dead and not reset?
Thanks in advance!
Alan
Comments
You'll need to store each enemy's status (dead or alive) in a table and then have each enemy actor check that status and destroy the actor if the status is "dead."
Thanks tatiang. New to GS so I'll have to read up on how to use tables.