Problems implementing A* - Need a knowledgeable eye to look at my code
Heya,
no, I haven't got it to work. But I haven't had any time to look at it since last time as I've had three assignments due today and another one this weekend. In a world with unlimited time I would have created a better environment to test the pathfinding, showing all the values and behind able to create obstacles and new paths while it's running, but haven't had time to do that. But I have thought of doing a desk test since the fault most likely lies somewhere in the code that calculates the costs of moving, so I should be able to see where if I just write it down.
I cut the code down to the bare minimum to run and show the pathfinding.
https://www.dropbox.com/s/to7ljzjiuzlxlbd/Gamestuff.rar?dl=0
*edit*
I actually got it to work correctly, turns out the sortfunction for the vector didn't work as planned so I replaced it.