I keep having problems with my walking and shooting enemies.
I have set them when they see the player they fire with an instance variable that sets the direction of the bullet. Unfortunately the other enemies that don't see the player keep moving and when they change direction it sets the direction of the bullets to the other way.
It's probably simple fix but it's driving me mad.
Cheers