I have been working on a really simple game. And it kinda works well. But I dont like the way the enemy AI works, as the enemy kinda moves wrong.
I found this video http://www.youtube.com/watch?v=4u851UWNa78&feature=related and the game is almost 100% same gamplay as mine. But the enemies move so smoothly. Some random, some attack when you get close to 'em. Some only attacks when your not shining the light on 'em and so on.
Could someone please help me so I can make a script that makes enemies follow me, and still keep their distance. Moving around the player and so on. More or less the same as in this video.