SFML community forums

Help => General => Topic started by: Roose Bolton of the Dreadfort on March 10, 2012, 02:59:18 am

Title: A* Pathfinding in SFML 2.0
Post by: Roose Bolton of the Dreadfort on March 10, 2012, 02:59:18 am
Does anyone have an example of an A* implementation in SFML2.0 I can have a look at?

Cheers.
Title: A* Pathfinding in SFML 2.0
Post by: OniLinkPlus on March 10, 2012, 05:48:19 am
A* is completely independent of SFML.
Title: A* Pathfinding in SFML 2.0
Post by: thePyro_13 on March 10, 2012, 05:58:19 am
The following thread includes links to a few resources on the topic.

http://sfml-dev.org/forum/viewtopic.php?t=6945&highlight=

But as has been said, A* is independent, think of it on it's own, and then just draw the result.

EDIT: In the thread we link to a few guides, and I link to an example using SFML.

Make sure to check out Nexus' link near the end, you can skip most of the implementation using boost.