Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Pathfinding script  (Read 1072 times)

0 Members and 1 Guest are viewing this topic.

TheUselessGuy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Pathfinding script
« 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?

Stauricus

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
    • A Mafia Graphic Novel
    • Email
Re: Pathfinding script
« Reply #1 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.
Visit my game site (and hopefully help funding it? )
Website | IndieDB

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Pathfinding script
« Reply #2 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 ;)
Laurent Gomila - SFML developer

 

anything