Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+1)

Thanks!
Not the most optimzed code in Earth, but it a little bit like that:

if enemy == bad: follow player
elif enemy == off: do nothing
elif enemy == good: keep same distance, angle, and relative angle in relation to player