It is currently Wed May 24, 2017 12:38 pm




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: A.I.
PostPosted: Fri Feb 22, 2008 6:03 am 

Joined: Thu Oct 25, 2007 9:49 pm
Posts: 33
how does one implement AI and pathfinding in games? is there any software/library for use or is it all coded math such as A*?


Offline
 Profile  
 
 Post subject:
PostPosted: Fri Feb 22, 2008 7:57 am 
Site Admin

Joined: Sun Feb 11, 2007 8:59 am
Posts: 1094
Location: Ontario Canada
As far as I know, you have to code your own AI. A good place to look for generic algorithms is in the AI Game Programming Wisdom series of books:
http://www.aiwisdom.com/


Offline
 Profile  
 
 Post subject:
PostPosted: Fri Feb 22, 2008 9:40 am 

Joined: Tue May 01, 2007 2:55 pm
Posts: 96
Location: Behind you
Most probably there is some guy that written some pathfinding functions and has them for download, but the question you have to ask is whether you want to use that.
Often pathfinding will be very processor intensive, so will need to very carefully decide when to find a path and when not to. For that I would say a personal path finding function (that can assume some things about your game) would be better most of the times.
You should also note that most 3D games do not need pathfinding. A game such as the Battlefield Bad Company does need path finding because the environment changes, but many games can do with predefined (by the creator of the level) paths instead.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

cron