Creating our Enemy AI  - Creating a Horror Game in Godot 4 Part 2 @FinePointCGI
Creating our Enemy AI  - Creating a Horror Game in Godot 4 Part 2  @FinePointCGI
Uploaded October 2022 | Updated December 2026, 1 day ago
Subscribe and learn more from me about Game Development and Programming!

In this video, we discuss how to build a basic enemy AI. This AI will track the users location and chase them if it sees them.

RESOURCES
Game Design Document: docs.google.com/document/d/1IG9do3z9vRaU4oZYyWwx8Rhc3nWf_5ZuvpmD4SohNGY/edit?usp=sharing

Source files github.com/finepointcgi/Godot-Horror-Game-GD

BE MY FRIEND:
🐦Add me on Twitter: twitter.com/finepointcgi
Check out my Website: finepointcgi.io
Hang Out with the Guys on Discord: discord.gg/5pcNmqp9M3
Trello of Upcoming Tutorials: trello.com/b/cJWPaVyV/godot-tutorials

SUPPORT ME:
You can support me on Ko-FI ko-fi.com/finepointcgi
You can support me on Patreon: patreon.com/finepointcgi

TIMESTAMPS
00:00:00 - Start
00:00:41 - Planning out our Code
00:12:45 - Getting Into Godot and Setting Up Our Enemy
00:15:16 - Creating our Enemy Script
00:15:50 - Setting up Nav System
00:18:52 - Setting up Our State Machine
00:21:33 - Setting Up Navigation Code
00:30:35 - Adding in our Wait State
00:36:09 - Making our Enemy Face his Point
00:38:08 - Upgrading to beta 3 to stop bugs
00:39:39 - Setting up A Detection System
00:45:35 - Creating Sight for our Enemy
00:53:15 - Coding our Detection System
01:00:59 - Marker 13
01:04:20 - Building out our Hunting State
01:07:37 - Coding the Chase System
01:09:47 - Building our Hunting State
01:10:42 - Testing our Code
01:12:24 - Outro

MUSIC
Music provided by TheRelaxedMovement.
Check it out here: https://www.youtube.com/c/TheRelaxedM...​

HASHTAGS:
#godot4 #HorrorGame #csharp #enemy #ai

ABOUT MY CHANNEL:
I've been a software developer for over 7 years. I've worked in the game industry for 3 of those years. This channel is used for news on the gaming\programming industry and for tutorials for game\programming development.

Creating our Enemy AI - Creating a Horror Game in Godot 4 Part 2
Creating our Enemy AI  - Creating a Horror Game in Godot 4 Part 2Lets Look At Godot 4! AMDs FidelityFX Super Resolution (FSR) And Fog Volumes!C# Godot 2D Platformer | Creating a Scalable and Reusable Door Key SystemLets Look At | Godot 4 Occlusion CullingC# Endless Runner: From Scratch to Leaderboards with Godot 4.4Creating A PS1 Resident Evil Prerender System In GodotAdding Drop-In, Drop-Out Support in Nakama with Godot 4.4Creating A Scaleable Inventory System - Godot 4 Horror Game (StandAlone)Advanced Godot | Integrating Facebook Ads Into Godot!Advanced Godot | Creating In-App PurchasesCreating a Time Based Lives System | Lets Learn Godot 3.4Advanced Godot | Creating an Animal Crossing Like Day/Night Cycle
FinePointCGI |

Creating our Enemy AI - Creating a Horror Game in Godot 4 Part 2

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER