Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
( 1)

very interesting game. how did you make the red hunter AI?

Thank you! I think it was as simple as this line of code, or something like this (it's been a while since I've touched Unity..):

transform.position = Vector2.MoveTowards(transform.position, player.position, speed * Time.deltaTime);

I will have to experiment with that, I felt like it had some interesting moving patterns in avoiding walls, and exceptional lateral movement in the same cases where it could've stuck