Help needed - max number of enemies on screen
tollhousestudio
Member Posts: 166
Hey, I'm setting up my new game and I'm stuck on how to do this:
I want to have a maximum number of enemies on the screen at once. How would I go about setting this up?
I'm sure I seen it somewhere before but I've been searching for ages and I'm not having much luck.
Thanks in advance.
I want to have a maximum number of enemies on the screen at once. How would I go about setting this up?
I'm sure I seen it somewhere before but I've been searching for ages and I'm not having much luck.
Thanks in advance.
Comments
then when you spawn a enemy, just increase enemies by 1
when an enemy dies, decrease it by 1
and in your spawnner, create a rule so it only spawns if enemies is less than maxenemies
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left