2017-04-14
[public] 94.8K views, 2.64K likes, 19.0 dislikes audio only
In this episode we begin our small stealth game project by creating a "guard" that can patrol a path.
Note: I made a small error in my "TurnToFace" implementation, which means the guard is unable to turn anticlockwise. The reason is that DeltaAngle() can return negative values, so I should actually be comparing the absolute value of the delta angle. I will fix this at the start of the next episode. Sorry!
Project files:
https://github.com/SebLague/Intro-to-Gamedev
If you'd like to support these videos, you can make a recurring monthly donation (cancellable at any time) through Patreon: http://bit.ly/sebPatreon
Or a once-off donation through PayPal:
http://bit.ly/SupportGamedevTutorials