XNA Rockstar

I'm reaching out to the XNA Community for some good (and free) information on Artificial Intelligence and/or pathfinding Anyone know any

...or if not free, some book recommendations



Re: XNA Game Studio Express AI Resources

Glenn Wilson

One of the good resources out there is the www.gamedev.net groups on AI, you should find some links in the FAQ that might help. Also a quick search on AI on code project will also return some managed samples of pathfinding.






Re: XNA Game Studio Express AI Resources

drawle

Wikipedia is a place I often start. There is an article on pathfinding there with links to descriptions of A* and Dijkstra's algorithm.



Re: XNA Game Studio Express AI Resources

errolian

A* Pathfinding for Beginners - good source.




Re: XNA Game Studio Express AI Resources

XNA Rockstar

Those are great starts. Thanks guys!



Re: XNA Game Studio Express AI Resources

XNA Rockstar

So I looked into those websites and code examples. They're some pretty solid resources, but I also want to pick up a book to get expert advice in one concise location.

I narrowed it down to two books: Game Programming Gems and Game Programming AI by Example (AI game programming wisdom looked good, but not as good as the other two). Considering books are $30+, I'm trying to narrow it down to one.

Has anyone read either (or both) of these books and have some insight into which would be better My basic observations/questions about the books are:

Game Programming Gems

  • 4.5 out of 5 stars on Amazon (36 reviews)
  • Great "all around" game programming book, including AI and A * pathfinding
  • Published in 2000. Is it out of date by today's standards or is it just logic which can't become obsolete

Game Programming AI by Example

  • 4.5 out of 5 stars on Amazon (18 reviews)
  • Narrow focus to only AI, but considered the "bible" on the topic
  • Supposedly very complex. Is it too complex for an intermediate C# / XNA programmer




Re: XNA Game Studio Express AI Resources

atlStylez

XNA Rockstar wrote:

So I looked into those websites and code examples. They're some pretty solid resources, but I also want to pick up a book to get expert advice in one concise location.

I narrowed it down to two books: Game Programming Gems and Game Programming AI by Example (AI game programming wisdom looked good, but not as good as the other two). Considering books are $30+, I'm trying to narrow it down to one.

Has anyone read either (or both) of these books and have some insight into which would be better My basic observations/questions about the books are:

Game Programming Gems

  • 4.5 out of 5 stars on Amazon (36 reviews)
  • Great "all around" game programming book, including AI and A * pathfinding
  • Published in 2000. Is it out of date by today's standards or is it just logic which can't become obsolete

Game Programming AI by Example

  • 4.5 out of 5 stars on Amazon (18 reviews)
  • Narrow focus to only AI, but considered the "bible" on the topic
  • Supposedly very complex. Is it too complex for an intermediate C# / XNA programmer

Gems is a very good series, so that's a good choice.

Game Programming AI by Example is great, it is a little complex, but if you just really read it, and try to do things hands on, you should be okay. Also, most of the books you'll find will be using C++, a lot of them are a lot theory, but when there is code, 99% of the time it'll be in C++. if you know C++, great, if not, it's not too hard to follow since the syntax is very similar to C#.





Re: XNA Game Studio Express AI Resources

XNA Rockstar

Thanks. I'm probably leaning towards Game Programming Gems since it has the bits and pieces of AI I need, plus a ton of other all around tips. But my biggest concern is that it was written in 2000 and could be out of date with all the changes in game programming since then. What's the consensus on that side of it



Re: XNA Game Studio Express AI Resources

Hlubocky

I'm not well versed in game AI (just theoretical), but typically AI is given a fairly small CPU budget compared to rendering, the bulk of which is taken up by pathfinding algorithms (in games where that is applicable). I don't think game AI has progressed that much in the last 6 years. I'm not sure about the rest of the book however...




Re: XNA Game Studio Express AI Resources

XNA Rockstar

I'm more referring to the rest of the Game Programming Gems book (non-AI stuff). I'm sure the AI stuff hasn't been plutoed, but I don't know about the rest of the book. Does anyone that have the book want to comment



Re: XNA Game Studio Express AI Resources

Hlubocky

I have the gems books as well as the AI Programming Wisdom books, but I can't really remember all of the contents. If I am remembering correctly however, most of the solutions given in the books are fairly theoretical in nature and probably still valid today. Obviously with more computing cycles you might be able to take these techniques to the next level, but they should still be relevant as well as interesting and thought provoking reads.




Re: XNA Game Studio Express AI Resources

schlrobe

The AI by example book is really well written. The author does an awesome job of making the hard topics understandable by non-math people. In fact, he will go out of his way to explain the math without actually using math. you can read the second chapter from the book at the author's website. http://www.ai-junkie.com/architecture/state_driven/tut_state1.html

His finished AI is really simplistic, but can easilly be expanded on. I started converting the code from the book (which is free to download from the publisher's site) but haven't finished due to work related issues.

I really suggest buying this one, even if you decide to get other books later :-)

Robert





Re: XNA Game Studio Express AI Resources

XNA Rockstar

Thanks for the great writeup schlrobe!  I may just buy them both now  :)

I'd still love to hear from anyone that's read game programming gems recently if it is outdated. (no offense Hlubocky, I just want to be sure)