Godot Version
4.4.1(stable)
To start off I followed this tutorial. https://www.youtube.com/watch?v=LOhfqjmasi0&t=4495s
It worked great and finished it up. Now I want to expand on what I’ve built by making the enemy slime able to detect the player and fire a projectile at them. (I made my own bullet asset to throw in). I’m not sure how to approach any of this though. I was thinking about a large collision shape to act as the slime’s range of sight.
I think I can figure out the shooting and bullet behaviour, etc. Mostly I’m just looking for best practice on how to make the enemy detect the player in a 2d side-scroller environment not a top-down, I think?