Hello,
My game is almost done, my levels are ready & as far as I can say, it’s not showing any errors anymore. But, one issue have been bugging me for a while and I was wondering if it’s just me. So, my levels are basically sometimes refusing to initiate the “Winning” event. The timer would run out & the attackers would be all killed, but the game doesn’t initiate the event it’s supposed to, even though I’m not getting any errors in the console. This doesn’t happen in a particular level & it seems to happen randomly, since sometimes I tried the same level with the exact same sequence of play & it works one time but not the other.
I didn’t include any code as I’ve gone through it countless times now & ended up commenting out my “unique code” & adding Rick’s instead, yet I got the same result. So, my code is now about the same as the one written in the lectures. So, if anyone encountered this issue & was able to solve it, please let me know, it would be much appreciated.