Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | LittleMissCat | |
Old Version | Published before Godot 3 was released. |
I’m making an RPG for a class, and I have no idea how to:
1-Make an enemy move on its own
2-Make the enemy move towards the player when they are within a specific radius of each other.
I’m a newbie to Godot, and any help would be greatly appreciated!!
So you basically want to make an AI (Artificial Intelligence.)
Here’s something in the docs
http://docs.godotengine.org/en/stable/learning/features/physics/ray-casting.html?highlight=AI
I also recommend checking out some github projects. To get an idea of how some AIs work.
Here’s Godot’s official demo projects.
GitHub - godotengine/godot-demo-projects: Demonstration and Template Projects
And here’s Dolphin Island 2.
GitHub - janmarcano/Dolphin-Island-2: A game by Jan Marcano and James T. Uses Godot 2.1
lavaduder | 2017-04-28 17:45
Thanks. Useful starting points.
davidpgil | 2017-11-16 19:36