Posted September 19, 2025 by GregKitching
It was a bit of a fight just getting the boss fight working. The first phase of the boss fight consists of five substructures attached to the main structure that the player must destroy, at which point the first phase was supposed to spawn the second phase and destroy itself. But upon testing it out it seemed to be not destroying itself and calling the phase 2 spawn function repeatedly, spawning thousands of copies of phase 2! Doing it a slightly different way worked, but failed to destroy the enemies that are attached to the side that was destroyed. I eventually got it working as I wanted, but it took a lot of testing to do it.