I'm looking to learn about NPC AI to solve a problem how an NPC should walk e.g. walking straight and then turn at a wall. Perhaps I can program it to walk along a line but then I still would not know how to make the NPC do more complex. An article I found is linked.


Can you link something more that could solve my problem?


I found this question constructive: How to handle walking into walls?


closed as not constructive by MichaelHouse, Josh, bummzack, Sean Middleditch, Trevor Powell Feb 12 '13 at 23:53

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    \$\begingroup\$ Voting to close; This question is asking for links, rather than asking for answers. \$\endgroup\$ – Trevor Powell Feb 12 '13 at 23:53
  • 1
    \$\begingroup\$ @TrevorPowell Lengthy code can be posted to pastebin but I don't think you even answer with code here. \$\endgroup\$ – Niklas Rosencrantz Feb 18 '13 at 3:58

It sounds like you may want to investigate more fundamental concepts behind AI systems in general. The AI for a game is usually made up of many different components and decision making processes that are each custom tailored to their own particular context.


This is a link to a book that myself, and a number of fellow graduate students find quite useful. The link you provided has some neat information at it, and quite a few links to other bits of useful information.


You could also been interested in this number of Game Career Guide: check the article at page 13, "Getting there from here". I know that's a simple introduction to AI, but it's well written and, if you have to start from the basis, it could be very useful. More than that, it provides some resources at the end.


Not the answer you're looking for? Browse other questions tagged or ask your own question.