By embedding games on your website or application you are agreeing to the Construct.net Arcade Terms of Service.
una pequeña demo de rondas basado en cod zombies
prueba del funcionamiento, haz click en los enemigos para destruirlos
I like the idea! I can see that you implemented rounds, very cool! As for the overlapping zombies problem you mentioned, I'm not sure. I haven't used construct since I made Hats. But, you can maybe try using condition "for each/every" zombie object Loop on the same event you use for overlapping, then make a global variable 'counter,' and instance variable on zombie object also called 'counter.' Then, on your 'for each' event add 1 to global counter then set zomb instance counter = to global counter, and then a wait for at least a frame ~0.05 seconds, then (maybe print global counter to console to check that it's counting correctly) then reset global counter to 0. Then in a seperate Event check if Zomb object counter variable is = 1 in which case, it should be deleted.
There could be a better way if you look into construct's documentation, but that's just my best guess to solve that problem, best of luck!
gracias, thank you i will try you version, i found another way, with the UID... first to click the obj need the next like this
[on left button clicked on zomb ]__________[destroy]
[pick instance with UID zomUID ]
is a little weird but i hope you understand
this compare if you clicked an obj wit the same UID, diferentes UID not are afected, if you have 10 obj in the same place with this you just destroy the first obj in front
That's great! sounds much simpler, seems like you got it