Worried about AI
Wednesday, July 17, 2019 - 21:57
Ah hello, i am new here. please call me Rex. Nice to meet you.
I have not actually started any project, but i am already worried about how to make a good working AI, that does not get stuck to places,
know how to find path and also not very space consuming in its scripts?
If there is any mistake in my wording, i apologize. Regards.
I don't know what level of skill you are at, but I recommend checking out A*
--Medicine Storm
Oh hey, MedicineStorm
I am not sure about it... seems very advanced for my use currently since it seems to
encompass robotics too!
But from i understand, the first paragraphc seems to suggest there are other better methods that preprocess graph for pathfinding?
And how do i implement this to my assets?
Cheers
A good place to learn about pathfinding and A* is this article by Amit Patel. It includes interactive examples of several pathfinding algorithms, so it's easy to compare them and find what works best for your game.
Implementing these depends on what game engine you use, and the specific needs of your game. If you're developing in a popular game engine you can probably find tutorials or scripts you can use.
that's a very interesting article. I think i get it. It seems the implementation of AI is case by case,
since a game could be anything, from grid based to edge based...
so the wisest thing seems to, create all assets first, then make the AI around the asset.
And from there, best to consider, how the AI think, basically implementing your thoughts, into the AI,whether it is about finding the shortest path, or making the most efficient strategy
very interesting, seems the case of AI is like building characters of a story
am i correcct?
thanks bencreating