Is the A* project broken? (SOLVED)

Hi all,

I was trying to learn how to add A* to my game, so I downloaded Astar Project from JCash and tried to build it . While it did build, the result was just black for me… All the other projects worked fine, so I am lost :frowning:

Does anyone else have this problem?
Thank you!

Hello,

I have no experience with the Astar Project, however I can recommend the following page for a comprehensive look into A-star. If you are looking solely for pseudo-code, you will find it in the ‘Sketch’ sub-chapter, but I encourage you to read more as some of the chapters deal with performance, which may or may not be important for your game (do you run your path-finding routine once in a while or quite a lot? are the map representations large?)

http://theory.stanford.edu/~amitp/GameProgramming/

as minimum 3 pathfinding libs on LUA you may found here:
http://love2d.org/wiki/Category:Libraries

1 Like

I have now updated my example code to run again.
That whole project needs some cleanup to avoid these types of mishap. I’ll do that soon I hope :slight_smile:

As the others mentioned, there is plenty of information on A* implementations out there, this was merely one try to make it into a tiny example.

4 Likes

Awesome, thanks everyone! I will look into these methods!

And thank you for trying to fix that project Mathias! It does launch now, but on my pc it can not receive any input on the waypoints :thinking:. Wouldn’t expect you to stop your main dev work, just noting it for later :smiley:

Hmm, on Windows? Sounds really strange, I’ll look into it later today, should work the same as on OSX where I fixed it :confused:

It works fine for me on windows. Are you running the example, or trying to put it into your own project?

1 Like

I’m running it on windows, in the default project. I don’t know what it could be… I’ll look into using Jumper for A* anyways :slight_smile: