Found You
Implementation & Technical Information
Found You is a prototype game based off the BAFTA award winning show, Taskmaster. In this game, the player must get as close to the seeker as possible without being spotted. Once spotted, the game will end and the distance between the player and the Seeker will be displayed to the screen.
The Seeker is managed by a AI Controller which manages the AI behavior and state. The AI looks for the player by Line of Sight, instead of peripheral vision (to be updated). As soon as the Seeker has a clear line of sight to the player, the game will end. If the line of sight returns false, the Seekers focus gets cleared and stops movement. The distance is calculated by subtracting the seekers position from the players and dividing the result by 100 to convert into meters. nullptr checks are put in place to to avoid any objects returning null and causing crashes.

The Seekers state changes every 10 seconds from when the player starts the game. This gives the player time to hide from the Seeker and get close. Upon launching the game, GetWorldTimerManager() is called within BeginPlay(). A time handle is passed in, this is called as this function requires what object will be calling the function, a reference to the function that is called once the time lapses, in timer rate, a condition whether to loop the timer, and the initial delay for when the game launches.
