I'm making a Beat'em up game like little fighters and i have successfully added the 2 player function like in little fighters where player one has WASD controls and player 2 has arrow key controls.
I have all the behaviors on the Shadows of the characters.
So i have got to the most hardest part of making a game (as they say)-
Adding AI.
I want the enemy to stand in place until player(s) get close to him and then go and attack the player who's closest to him.
Capx:https://dl.dropboxusercontent.com/u/158606470/PublicCapx3.capx