Skip to main content

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

Being able to use enemies for one's own advantage is very creative, and I am also curious about how the code works. It's great!

(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