video thumbnail 18:41
Introduction to Game Development (E24: stealth game 2/3)

2017-04-30

[public] 55.9K views, 1.37K likes, 7.00 dislikes audio only

In this episode we create a simple player controller, and check to see if the player is visible to the guard.

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


reset the transform on a stand
/youtube/video/TfhPBAe9Tt8?t=75.279999
start by getting a smooth version of the input magnitude
/youtube/video/TfhPBAe9Tt8?t=253.17
apply some smoothing to the angle
/youtube/video/TfhPBAe9Tt8?t=359.88
add a rigidbody component
/youtube/video/TfhPBAe9Tt8?t=476.14999
mess around a bit with the spotlight settings
/youtube/video/TfhPBAe9Tt8?t=613.06897
start out by adding the player tag to the payroll
/youtube/video/TfhPBAe9Tt8?t=795.72998
set the spotlights color
/youtube/video/TfhPBAe9Tt8?t=1016.32
Create a Game (Unity 5) by Sebastian Lague
/youtube/video/SviIeTt2_Lc
Sebastian Lague Hello, on this channel I explore how to create stuff out of code. I hope you find some of it interesting!
/youtube/channel/UCmtyQOKKmrMVaKuRXz02jbQ
Support these videos on Patreon patreon.com
https://www.patreon.com/SebastianLague
Field of view visualisation (Unity 5) by Sebastian Lague
/youtube/video/rQG9aUWarwE