I’m making a side scrolling arcade style shooter, and it’s all going OK except for one rather large problem. Every once in a while, one of the enemies (in this case bees) can’t be shot down. The hit test is still working, as the bullets stop when they reach it, and if you collide with the enemy you still lose health. I’ve looked through this time and time again, but I still have no idea what’s causing this. I’ve posted the .fla, I know it’s quite messy and not exceedingly organised, but it’s my first attempt and I’ll probably clean it up once I get a few problems sorted out.
Any help is very much appreciated.
OK, the .fla is too large to attach even when zipped, so you can get it here.
Controls for the game are as follows:
Move with the arrow keys.
Hold Ctrl to ‘sprint’, amount of stamina left is shown in the purple bar in the top right. It gradually increases as you don’t use it.
Space to fire.
Health is shown in the red bar in the top right.