How to Make an Enemy Follow the Player in Godot

Опубликовано: 07 Сентябрь 2026
на канале: MakerTech
11,998
306

Are you also tired of only having enemies that move between two points?
Maybe you also want enemies, that will follow the player?
Then this is the tutorial for you!

Support the channel on Patreon:   / makertech  
Support the channel with a Youtube membership:    / @makertech  
Join the Discord server:   / discord  
All ARPG related videos:    • All ARPG related tutorials (GDScript)  

00:00 intro
01:04 template
04:46 detect
06:36 follow
07:54 stop 1
09:54 stop 2
11:10 stop 3
12:51 returning
15:05 refactoring
17:39 bug fix
19:04 collision problems
19:47 fix 1
20:35 fix 2
22:23 fix 3


---------------------------------------------------------------------------------------------------------------------------
Download Godot: https://godotengine.org
"Ninja Adventure" asset pack: https://pixel-boy.itch.io/ninja-adven...
My additional assets pack on itch.io: https://makertech.itch.io/additional-...
VisibleOnScreenNotifier2D node: https://docs.godotengine.org/en/stabl...
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Reddit:   / makertech  
Instagram:   / makertech_dk  
Bluesky: https://bsky.app/profile/makertech.bs...
Youtube channel:    / makertech  
---------------------------------------------------------------------------------------------------------------------------

#gamedev #godot #godotengine #godot4 #tutorial #zeldalike #learntocode #howtomakeagame #components