Contents
Smart Move: Intelligent Path-Finding
 
 
Printer-Friendly VersionPrinter-Friendly Version
 
Latest News
spacer View All spacer
 
September 9, 2010
 
iOS 4.1 Update Provides Long-Promised Game Center Support
 
THQ*ICE Shuttered, Gravity Taking Over Dragonica Online [1]
 
Less Money For 38 Studios' Rhode Island Transplant [1]
spacer
Latest Jobs
spacer View All     Post a Job     RSS spacer
 
September 9, 2010
 
Sony Computer Entertainment America LLC
Senior Staff Environment Artist
 
Trion Worlds
Senior Software Engineer I
 
Trion Worlds
Senior Localization Engineer
 
2K China
SENIOR SPORTS DESIGNER - 2K China
 
Sony Computer Entertainment America LLC
Senior Staff Animator
 
Trion Worlds
PR Manager
spacer
Latest Features
spacer View All spacer
 
September 9, 2010
 
arrow From Ancient Greece To Halo: Art Tradition In Today's Games [1]
 
arrow UK vs. Canada: Do Tax Breaks Build An Industry? [7]
 
arrow Not A Departure: The Genesis Of Darkspore [4]
 
arrow Deus Ex: The Human Question [2]
 
arrow Game Dev Collaboration: Google Docs Style [13]
 
arrow Sponsored Feature: Make an Impact at Sledgehammer Games
 
arrow A Journey Across the Main Stream: Games for My Mother-in-Law [31]
 
arrow An Artist's Eye: Applying Art Techniques to Game Design [8]
spacer
Latest Blogs
spacer View All     Post     RSS spacer
 
September 9, 2010
 
Courtesy, It's Wonderful!
 
Snobbish, Arrogant and Elitist - Why Attitudes to Zynga Suck [59]
 
Achievements, Social Games and Virtual Goods
 
Why 3D at Retail Sucks, and How to Fix it! [8]
 
Gamazon: The Iron Burka [15]
spacer
About
spacer News Director:
Leigh Alexander
Features Director:
Christian Nutt
Senior News Editor:
Kris Graft
Advertising:
John 'Malik' Watson
Recruitment/Education:
Gina Gross
 
Feature Submissions
Sponsor
Features
  Smart Move: Intelligent Path-Finding
by Bryan Stout
0 comments Share on Twitter Share on Facebook RSS
 
 
February 12, 1999 Article Start Page 1 of 9 Next
 

Of all the decisions involved in computer-game AI, the most common is probably path-finding-looking for a good route for moving an entity from here to there. The entity can be a single person, a vehicle, or a combat unit; the genre can be an action game, a simulator, a role-playing game, or a strategy game. But any game in which the computer is responsible for moving things around has to solve the path-finding problem.

And this is not a trivial problem. Questions about path-finding are regularly seen in online game programming forums, and the entities in several games move in less than intelligent paths. However, although path-finding is not trivial, there are some well-established, solid algorithms that deserve to be known better in the game community.


Several path-finding algorithms are not very efficient, but studying them serves us by introducing concepts incrementally. We can then understand how different shortcomings are overcome.

To demonstrate the workings of the algorithms visually, I have developed a program in Delphi 2.0 called "PathDemo." It is available for readers to download. The article and demo assume that the playing space is represented with square tiles. You can adapt the concepts in the algorithms to other tilings, such as hexagons; ideas for adapting them to continuous spaces are discussed at the end of the article.

 
Article Start Page 1 of 9 Next
 
Comments


none
 
Comment:
 


Submit Comment