🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

A* algorythm

Started by
5 comments, last by Badlok 22 years, 5 months ago
Hi all, I''m completely new here, but I''m looking for some sample code for implementing A* in C. Can anyone help me out? Thanks.
Advertisement
www-cs-students.stanford.edu/~amitp/gameprog.html

BTW people... There''s a FAQ of this forum? Maybe it will be helpful for newbies
RPG game programming and tutorials - Playable demo in Progress!
http://www.rrc2soft.com
I''ve already been to Amit''s site (excellent site IMO) but couldn''t find an A* implementation in C, only C++.
quote: Original post by rrc2soft
www-cs-students.stanford.edu/~amitp/gameprog.html

BTW people... There''s a FAQ of this forum? Maybe it will be helpful for newbies


Perhaps you should click on the FAQ yourself and discover how empty it is.

Dave Mark
Intrinsic Algorithm Development

Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play

"Reducing the world to mathematical equations!"

i''d put money on him meaning this line:
quote: * Before asking a question, you should spend a few minutes looking through older posts or other parts of the site to see if the question has already been answered (chances are, it has).


--- krez (krezisback@aol.com)
--- krez ([email="krez_AT_optonline_DOT_net"]krez_AT_optonline_DOT_net[/email])
quote: Original post by krez
i''d put money on him meaning this line:
* Before asking a question, you should spend a few minutes looking through older posts or other parts of the site to see if the question has already been answered (chances are, it has).


— krez (krezisback@aol.com)
THAT I would agree with.


Dave Mark
Intrinsic Algorithm Development

Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play

"Reducing the world to mathematical equations!"

quote: Original post by Badlok
I''ve already been to Amit''s site (excellent site IMO) but couldn''t find an A* implementation in C, only C++.


Well there''s nothing wrong with using C for this kind of thing; it''s clean enough.

However, there''s a decent C++ implementation named GSL that may work for you. Good luck!





Ferretman

ferretman@gameai.com
www.gameai.com

From the High Mountains of Colorado

Ferretman
ferretman@gameai.com
From the High Mountains of Colorado
GameAI.Com

This topic is closed to new replies.

Advertisement