In my game (in its early stages) there are red dots, and the enemy is constantly following you, now of course there are obstacles. but anyhow when the enemy runs into the red dots its multiplies. when all the red dots are gone (your gonna have a lot of enemies) a yellow dot will appear and when you run back to the yellow dot, you win the game. Well i have successfully coded everything except my yellow dot will not appear when all the red dots are gone. (no escape from hell lol)
this is the code i tried using to make the yellow dot happen:
if !instance_exists(obj_death"red dot") then instance_create(320,200,obj_win"yellow dot")
i was gonna just count the values of each red dot but that would make, making new level way more difficult.