Jump to content

Zombie: Difference between revisions

6 bytes added ,  2 months ago
no edit summary
No edit summary
No edit summary
Line 7:
Zombies can be in one of three states:
* '''Wandering:''' Walk in a straight line in a random one of the four orthogonal directions. Zombies start in this state.
* '''FollowFollowing wall:''' Go counterclockwise around the perimeter of a wall. A zombie will enter this state if it touches a wall (i.e. a tile that is solid to monsters) while in the wandering state.
* '''TargetTargeting:''' Move towards the nearest targetable sprite. A zombie enters this state when it comes within a certain distance of a targetable sprite. The zombie will leave this state and go back to the wandering state if there is no longer a targetable sprite within another (slightly larger) distance.
 
[[Category:Respawning monster]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.