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.
A* C implementation code.
Currently working on a scene editor for ORX (http://orx-project.org), using kivy (http://kivy.org).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement