AI is fun.

Just added more enemies to my game (that is, more than one). Their AI is really simple:

1. Target the player and pathfind directly to them
2. If, at any point during this process, you are not the closest enemy to the player within a certain radius, pathfind somewhere random, then go back to 1.

And that made the game SO much more awesome! They’ll corner you in tight spaces and you’ve really got to watch where you’re going.

Now the game is super hard, though, so I think I need a better respawn system…

warehouse5