Ive have made a few maze games with enemies that have to be avoided and it has all worked fine but my new project is a 2 player game where both players have to avoid multiple enemies inside an area. i made the enemy run on a guide but the players kept on dying in places where the enemy was not so i got rid of the guide and made the enemy move frame by frame, the problem still occured.
I have attached the files, i have drawn the guide aswell to show where the enemy goes.
Player1 Controls = Up, Down, Left, Right Arrows
Player2 Controls = W, S, A, D
(If you do not move player2 you will notice that he is killed without being touched.)
Please look at the .fla for the coding. (all the coding is inside the maze MC)