In this episode we combine all that we have learnt to create a guard AI. The guard will patrol a path until it spots the player and gives chase. Upon losing the player, the guard will return to their patrol route.
Support me on Patreon and get access to videos early, join our developer community on Discord, get exclusive behind the scenes videos on my projects and much more over at https://www.patreon.com/ryanlaley.
Subscribe now to catch each video as they are released each week.
Follow me on Twitter: https://www.twitter.com/ryanlaley
Like my page on Facebook: https://www.facebook.com/ryanlaleygames