My situation is kind of complicated. This is my first program and i am unsure what to do after this point. I made this shooter game in a couple of days. I made the basic sprites, i can shoot them, i have a timer, etc. But now i want to say that when they are all shot before the time ends, you get a sort of pass to the next level. how could i do that?
Offline
So are there a set amount of enemies? If so, create a variable along the lines of 'enemiesKilled' then change it by one every time an enemy dies. Afterwards, do an if timer is greater than 0 and enemiesKilled = set number, broadcast next level.
Well that's one way to do it anyway
Offline
say there are 3 enemies. Make a variable called Kills. Then
if kills=3
broadcast level 1 complete
Offline