Creating Simple Enemy AI to Chase the Player (Unity Tutorial | 2D Top Down Shooter) @KetraGames
Creating Simple Enemy AI to Chase the Player (Unity Tutorial | 2D Top Down Shooter)  @KetraGames
Uploaded December 2022 | Updated September 2026, 2 weeks ago
In this Unity 2D tutorial we're going to look at how to create an enemy with some basic AI, that chases the player if they get too close.

This is the fourth video in our series showing how to make a full top down 2D shooter game in Unity.

The playlist for this series can be found here
youtube.com/playlist?list=PLx7AKmQhxJFajrXez-0GJgDlKELabQQHT

The project files are available to our patrons here:
patreon.com/posts/75818131

Want to follow along? This project is a good starting point
patreon.com/posts/74343725

The final script can be found here
dotnetfiddle.net/fwnJ6E

The assets used in this video can be found here
tokka.itch.io/top-down-basic-set

Help support our work:
► Patreon: patreon.com/ketragames

Follow us:
► Ketra Games: ketra-games.com
► Patreon: patreon.com/ketragames
► Twitter: twitter.com/ketragames
► Facebook: facebook.com/ketragames

Introduction - 0:00
Creating the Enemy Game Object - 00:30
Creating the Player Awareness Script - 04:12
Creating the Enemy Movement Script - 07:14
Trying it out - 11:55
Summary - 12:24

#KetraGames #LearnUnity #UnityTutorials #UnityTips
Creating Simple Enemy AI to Chase the Player (Unity Tutorial | 2D Top Down Shooter)A Beginner Level Introduction to Prefabs (Unity Tutorial | 2D Top Down Shooter)Positioning Objects using Vertex Snapping (Unity Tip)Root Motion Explained (Unity Tutorial)Recentre the Camera on Key/Trigger Press Using Cinemachine (Unity Tutorial)Reuse Images at Different Sizes Using 9 Slicing (Unity Tutorial)How to Make the Camera Follow the Player Using Cinemachine (Unity Tutorial)Creating an Infinite Bouncing Ball with Physic Materials (Unity Tutorial)Setting the Value of a Property in the Inspector (Unity Tutorial)How to Procedurally Generate a Perfect Maze (Unity Tutorial)Shortcut to Maximise a View or Panel (Unity Tip)1D Animation Blend Trees Explained (Unity Tutorial)
Ketra Games |

Creating Simple Enemy AI to Chase the Player (Unity Tutorial | 2D Top Down Shooter)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER