So this is for a sailing game where I have a Kraken boss send waves at the player’s boat. I’m trying to distinguish the projectile because the boat can’t send any cannonballs to the enemy to defeat him.
the while loop seems to be problematic. It all works fine without the while loop (except the enemy projectiles don’t shoot of course), but when I add it back in it doesn’t work. Also can someone help me fix my status bar because it isn’t going on top of the enemy?
If you take the code inside the while loop and put it into a forever block with an IF to check the conditions it will probably work. Most likely the reason it’s not working is because the While loop is stopping everything from running until it’s done, so you have to move that code out somewhere else instead of using a While loop.