How to Make NPC follow Player in Godot 4.0

Опубликовано: 17 Июнь 2026
на канале: Gamedev Aki
11,427
327

In this video, I'll cover how to make Pokemon follow the trainer, or run away from them, without implementing A* Algorithm or other pathfinding algorithm. All of these can be done with Godot inbuilt nodes.

☕ Download the project code on Ko-Fi (assets not included)
https://ko-fi.com/s/dfa0a6611d

🏅 Download the assets separately from the following links
Skybox - https://artstn.co/m/1LgWz
Pixel Art - https://cainos.itch.io/pixel-art-top-...
Spritesheet - https://www.spriters-resource.com/gam...

🛒Amazon Affiliate Links
If you feel like shopping and supporting me, here are some of my essential buys

Productivity Mouse - https://amzn.to/3pqQjjN
Low Profile Productivity Wireless Keyboard for Multiple Devices - https://amzn.to/43YtenR
The BEST Office Chair - https://amzn.to/3NLbrKW
Graphics Tablet for Your Game Assets - https://amzn.to/46zlNoX
HDMI Extender - https://amzn.to/3NLDcTN

🏅🏅Attributions🏅🏅
Assets Used
Skybox - https://artstn.co/m/1LgWz
Pixel Art - https://cainos.itch.io/pixel-art-top-...
Spritesheet - https://www.spriters-resource.com/gam...

Music
'Permafrost' by Scott Buckley - released under CC-BY 4.0. www.scottbuckley.com.au