Making “Eyes” in Unity(Game Dev Day 61)

The green outline shows the guards’ “vision”
Make sure gravity is OFF.
This script checks for a collision with an object tagged “Player”, then plays the Game Over Cutscene if It does have a collision.
As the guard turns and reveals the Player, the game over cutscene begins!

--

--

--

I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Spotify Download Limit 3 Devices

Chapter 1 Plan for a Successful Liftoff

An Introduction to Search and Metadata in SharePoint

An Instructional Strategy for Learning Coding Concepts

My First 100 Days at Afresh

How to land your first job as a game developer: the resume

Two Factor Authentication in Laravel applications

Working with Streams and Optionals in Java 8

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jack Leavey

Jack Leavey

I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!

More from Medium

Starting to feel like a real game!

Week 24: How to add SFX to you game without going mad

Adding Audio: Making the Characters Speak! (Game Dev Day 56)

My journey becoming a Unity game developer: Make a game look beautiful-Creating Ceilings pt.1