run away from player

Enemy Behavior - Run Away & Follow Player

Thursday, April 9th, 2009 | Enemy AI, Game Examples AS2 | 27 Comments

Make your enemies alive! This Flash ActionScript 2 game enemy AI script shows you how to add different enemy behavior to multiple enemies.

Each behavior is easily customizable; you can change movement speed, turn speed, aggression range & enemy graphic for each type of enemy.

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , , , , ,