(note: this is how I made pathfinding fast, your mileage may vary) A central component of my game is pathfinding. Since the only way to interact with your minions is by giving them commands, they have to figure out how to actually carry out those commands by themselves. A big part of this is finding out how to get to/from places, e.g. pathfinding. For instance, if you give them a command to build a wall, the typical process is this: locate an available resource, pathfind to it, pick it up, pa...