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.
🎉 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!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement