The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Game Development
|
SPF Algorythm?
Discuss SPF Algorythm? in the Game Development forum on Dev Shed. SPF Algorythm? Game Development forum covering non language specific programming - game creation, design, modding, theories and math. A place for developers and gamers of all levels to discuss and debate all things involved in game creation and modding.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

June 20th, 2006, 06:23 PM
|
 |
Come to the door. . .
|
|
Join Date: Mar 2004
Location: Ohio
|
|
|
SPF Algorythm?
Is there some sort of standard "shortest-path" algorythm strategy games use to move around obsticles?
__________________
The first dog icon I've EVER used!
|

June 20th, 2006, 06:33 PM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
Quote: | Originally Posted by adorablepuppy Is there some sort of standard "shortest-path" algorythm strategy games use to move around obsticles? |
Yes, it's called "A*".
There is a mathematical proof somewhere out there that says it produces the shortest path possible within a given time ... or so.... (sorry, no sources available right now)
Use it!
M.
|

June 20th, 2006, 07:28 PM
|
 |
Psycho Canadian
|
|
Join Date: Jan 2001
Location: Canada
|
|
Ya it doesn't always work though  , at least in the older games and some newer ones.
|

June 20th, 2006, 10:26 PM
|
|
what do I know about diamonds?
|
|
Join Date: Jul 2003
Location: ON, Canada
|
|
|
am i the only one confused?
__________________
|

June 20th, 2006, 10:35 PM
|
 |
﹌
|
|
|
|
|

June 21st, 2006, 02:46 AM
|
 |
Periodically energetic Perler
|
|
Join Date: May 2005
Location: Dublin, Ireland
|
|
|
__________________
Vi Veri Veniversum Vivus Vici.
Last edited by displeaser : June 21st, 2006 at 02:48 AM.
|

June 21st, 2006, 08:19 AM
|
 |
Psycho Canadian
|
|
Join Date: Jan 2001
Location: Canada
|
|
Quote: | Originally Posted by displeaser | nice thanks
|

June 21st, 2006, 08:41 AM
|
 |
Periodically energetic Perler
|
|
Join Date: May 2005
Location: Dublin, Ireland
|
|
|

June 21st, 2006, 10:19 AM
|
 |
Psycho Canadian
|
|
Join Date: Jan 2001
Location: Canada
|
|
|

June 23rd, 2006, 12:46 PM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 8
Time spent in forums: 1 h 43 m 9 sec
Reputation Power: 0
|
|
|
If you can get hold of the Games Programming Gems series from Charles River (they are a bit pricey tho'), have a look at the index for Vol.4, there are 30 entries for Path Finding over the 4 volumes - doesn't cover vol. 5 which is out now.
If you like printed books - check out a good bookstore under Game Programming and Game AI - I think I remember seeing a series called something like Games AI or Games AI Gems last time I was in Waterstones that look pretty cool - and pretty expensive as well.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|