SFML community forums

Help => General => Topic started by: TheUselessGuy on October 24, 2020, 04:22:48 am

Title: Pathfinding script
Post by: TheUselessGuy on October 24, 2020, 04:22:48 am
Hello.
Few days ago I tried to create pathfinding script for my game. I wasn't able to find any sfml tutorials for it and every another tutorial made it more confusing. Unfortunetly every single script I have created didn't work properly. At this point in time I surrender. Does anyone here know some good tutorial for sfml pathfinding or have script with good explenation for it?
Title: Re: Pathfinding script
Post by: Stauricus on October 24, 2020, 03:44:37 pm
well, you won't find anything as "pathfinding script" for SFML, since it is a library for C++, a language that is not scripted. so, its different from a game engine like Godot or Unity.

to be honest, the backbones of a pathfinding code doesn't need SFML at all. have a look at this: https://www.redblobgames.com/pathfinding/a-star/introduction.html

of course, you'll need some programming knowledge.
Title: Re: Pathfinding script
Post by: Laurent on October 25, 2020, 06:54:53 am
This has nothing to do with SFML, and you'll probably find more helpful answers on other forums (stackoverflow, for example).

Here we try to focus on SFML ;)