Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ok, cool. When you create a second enemy, like a bat, I recommend you abstract that speed out to the enemy itself, and call a variable on the enemy. That way you can use the same state code for each enemy without having to copy and paste.

Ok, i've done this now, each child objects of the enemy parent just tells it what its own pursue speed is. so it can be unique to each enemy. its working great so far.  thanks for the tip! 

(+1)

You're welcome!