Heuristic Based Enemy AI in Godot

Channel:
Subscribers:
3,830
Published on ● Video Link: https://www.youtube.com/watch?v=BRa983Bhcpc



Duration: 30:52
1,260 views
64


A quick video explaning how to create a system where an enemy will hueristically move towards a player or moving point.

Code here:
https://github.com/aimforbigfoot/NAD-LAB-Godot-Projects/tree/master/Simple2DEnemyAI


I haven't made a tutorial in a long time, I was a bit rusty at it AGAIN (;-;) please forgive me. I'll probably start making more and better tutorials very soon. I'm also dying from school and exams, 5 hours of sleep everyday is funnn 😍.


For the Godot Icon used in the thumbnail: Original Author of the Godot Icon (Andrea Calabró), changes were made to this icon.
https://commons.wikimedia.org/wiki/File:Godot_icon.svg


0:00 - Intro
1:11 - Setting up the scene
2:05 - Setting up the player
3:50 - What are we doing with autonomous agents
8:50 - Setting up the enemy scene
13:20 - Programming the enemy
19:32 - Programming the enemy - getting a direction to move (the heuristic part)
26:42 - Showcase and extensions
29:22 - Roasting myself







Tags:
Godot
Enemy AI
Heuristic