This was an enemy AI I worked on for my vertical slice project, which was an Ultrakill remake. When you're in range, the enemy chases you, and if you get close enough, it attacks. This was only my second time creating an enemy AI, so it’s not perfect — but I’m proud of the results.

git link