Skip to main content

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

Thank you for playing! That’s pretty good actually haha, my avg on play tests is 100-200. 

So the guards Ai and game state flow is pretty simple. If the player is in the guard’s cone of vision AND the player is actively stealing (.3 sec duration every time you steal), the guard will add itself to an active guards list in the game state manager class and the chase game state gets initiated. If a guard is chasing the player and loses sight, it will go to the player’s last seen location and survey around. After surveying for 10 sec without seeing player, guard returns to patrol and removes itself from the active guards list. The game state manager checks to see if any guards are still actively chasing, if not, then it returns to the main gameplay game state. 

Ah, I see! The first time I alerted a guard I tried running far away rather than hiding, and this triggered more guards to chase me. That gave me the false impression that all guards were predisposed to target me whether I was actively stealing or not. Or, at least, that's how I remember it happening. :)

Now that I know the secrets I'll be unstoppable...!


... well it's progress.