Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

A* C implementation code.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 KnolanCross   Members   -  Reputation: 447

Like
3Likes
Like

Posted 13 October 2012 - 12:10 PM

Hi, I recently coded the A* for a grid game hobby project in C.
It can be used by any C grid game as long as the character looking for a path moves one cell at a time (the algorithm can be used with diagonal movement enable or only vertical/horizontal moves).

The code and the whole explanation on how to interface with other codes can be find here:

http://16bitsflag.bl...grids-in-c.html

That is it, just wanted to share the code, hope someone find it useful.

Edited by KnolanCross, 13 October 2012 - 12:28 PM.

My blog on programming and games.
http://16bitsflag.blogspot.com.br/

Ad:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS