I'm trying to make a shooting game (Alex Game 3) and after you kill all the enemies (the uberkids) you are just stuck there moving around doing nothing does anyone know how to make it where after you kill all of the enemies you get the win screen and move on to the next part of the game
Gimmick
- create a variable that holds the number of enemies that are present in a level
- each time an enemy is killed, decrease it by 1
- when the variable reaches 0, show the win screen
OreoScarFire
The thing is that I have super little coding knowledge and the code is from someone else sadly, I tried to do something with the "kills = 0" and adding a "kills" to each time the enemy gets killed but it won't work.