toad_duzz toad_duzz loading

Malicondi wrote:

toad_duzz wrote:

alright, take your time!
Alright, I was able to make the boss spawn naturally and I figured out the problem (it took around 3x as long as it should, I'll explain why). So, since you have all 3 different zombies resetting the timer to increase their difficulty, they get out of sync, and then only one zombie will increment at a time. For example, the electro zombie will increase difficulty by one, then the normal then the big zombie, and all of that would take ~60 seconds, much longer than it should.

The solution to this is to have one zombie controlling the reset timer, and broadcasting to all the other zombies to increase difficulty, and that one zombie will also spawn the boss.

Hope this helps! fun game btw :)

Oh my god, I was thinking about fixing that but I got lazy. It's there because I copy and pasted the zombies and just changed the code from there for different types without seeing a reason to clean it like that. Didn't realize it actually would become out of sync. Cheers to you for striking this one right in the eye, my friend.