Hi,
Thanks for taking the time to put together this project. I’m trying to put together a simple game in C# right now, which I had previously done in Java using JGraphT so I could have access to edges and pathfinding. Essentially its a pawn & maze game, and I need to ensure that it is possible to get to the end, but I also plan to use a ContainsConnection to verify that each move is legal.
Im having a bit of trouble, and would greatly appreciate a pointer if someone has a moment. I got the graph working when I followed the advice from the Tower Defense Tutorial listed in the Getting Started Thread, but since I need to build up some movement logic, I need to get everything figured out with a script. This is what I have so far:
PointGraph graph = new PointGraph();
graph.searchTag = “HexTile”;
graph.maxDistance = 1f;
graph.Scan ();
Given that I already tagged my tiles accordingly, what more do I need to get this working?
Thanks in advance.