Original Post
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.
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.