I'm having trouble with my wave system, where after an enemy dies it is supposed to clear itself. However, it claims that the variable the setInterval is assigned to is "not defined."
I have included my .c3p here. drive.google.com/file/d/1gNQJnkR3MTZL38GfdTDezX6ycC7R2VPh/view
Develop games in your browser. Powerful, performant & highly capable.
I'm gonna bump this topic since nobody has replied yet, does anybody have an answer, or does anyone need other bits of code from my project?
Hello! I'm using a turret behavior, and I'm struggling to figure out how to make it actually fire at its targets. It tracks its targets and aims at them, but only fires at the first target and doesn't fire at any others. I will put screenshots of all my turret code below.
On start of layout:
On turret fire: