Stuck with A* implementation

Posted by Syed on Game Development See other posts from Game Development or by Syed
Published on 2011-11-17T13:45:11Z Indexed on 2011/11/17 18:10 UTC
Read the original article Hit count: 445

Filed under:
|
|

I have implemented some A* code in C# using this JavaScript code.

My C# implementation is the same as the above javascript code. But I'm unable to get it to work properly, e.g pathfinder blocks itself when the same number of walls are placed in front of it and some other scenarios as well like blocking it one way completely, I am assuming that code is standalone (not having other functionality included in other scripts).

Can anyone tell me if the above code is missing any A star functionality?

© Game Development or respective owner

Related posts about c#

Related posts about JavaScript