Dijkstra on real map data with raylib(github.com) |
Dijkstra on real map data with raylib(github.com) |
Unfortunately I don't think the Redditor shared their code.
[1] https://www.redblobgames.com/pathfinding/a-star/introduction...
And I gotta agree, raylib is cute lil' library. And I love the fact that it has bindings to so many languages, and e.g makes making games in Common Lisp a joy. Or any language, that one would want to use.. well not all, but a lot.
Istambul is an excellent choice. I enjoyed watching the algorithm take for ever to find a route from the most northern part of the river to the other side :)
How do I add it for other cities. Specifically, for San Francisco Bay area or for Hyderabad, India.
You can generate your own and rebuild
cmake -B build -S .
cmake --build build
this will work on all platforms.