Closed Route-7 closed 8 years ago
Hello, sorry for the late reply.
Im very very short on time lately for personal projects (such as this). I'm afraid I don't really know when I will be able to check it up, probably not before august.
What version are you using? Last time a bug like this was reported was because the row | column of each GridCell were not being automatically-assigned when creating the Grid. Not sure this could be your problem since you are using the gdx-bridge it seems...
Hi, I'm using libgdx 1.5.6.
I mean version of the pathfidnig library
0.2.5
Hello, are you still having this issue?
In case you are, is it possible for you to provide your tmx file?
I also have this issue. It seems to occur when no path can be found.
EDIT: never mind, was in my own code.
Glad you found solved your problem.
Since OP hasn't said anything about this...im just gonna close this and reopen it if needed...
hey i have the same problem :(
public AStarGridFinder<GridCell> finder;
tiledMap = new NavTmxMapLoader().load("orthogonale map/6v6.tmx");
NavigationTiledMapLayer navLayer = (NavigationTiledMapLayer) tiledMap.getLayers().get("navigation");
finder = new AStarGridFinder<GridCell>(GridCell.class);
System.out.println(finder.findPath( 0, 0, 5, 5, navLayer));
gives me the error : Exception in thread "LWJGL Application" java.lang.NullPointerException
Could you share your tmx file along with your tilesets?
oopsy daisy, fixed it, my problem was that i had copy pasted my old map and i was working with a copy in stead of original, your library works like a charm
sorry
I'm glad it's being useful for your project :)
Xavier Guzman
http://blog.xavierguzman.com http:////plus.google.com/u/0/113140404022814604923? http://mx.linkedin.com/in/xavierguz/ https://twitter.com/arkalain
Blog http://blog.xavierguzman.com | G+ http:////plus.google.com/u/0/113140404022814604923? | LinkedIn http://mx.linkedin.com/in/xavierguz/ | Twitter https://twitter.com/arkalain
On Tue, Nov 29, 2016 at 1:39 PM, jeltedeproft notifications@github.com wrote:
sorry
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/xaguzman/pathfinding/issues/9#issuecomment-263675670, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGZ27t479LYHxj93pzelY-ZMHf1kx9kks5rDH9ogaJpZM4EXSim .
Hi, I really like your library, I've been able to load a tmx map but when I try to find a path, I get this:
Here is my code:
Any help would greatly be appreciated :+1: