PathFinding API

Module Description:

This API consists of four files. One file is an external library that handles the path finding. The person that created the astar.js that is used in this API is Brian Grinstead. You can check out his github here. The other three files are created by Isaiah Snow and Matthew Taing.

Grid.js is a grid object that will sit on top of the game in world space and is independent from the camera. Obstacles can be added and removed from the grid.

Path.js is a pathfinding object that is attached to a single object that contains a transform. It will handle the pathfinding and movement of the object it is attached to.

SceneFileParser.js is used to parse Walls from a json file. It will add every wall inside of the json file to a gameObjectSet and set them as a obstacle in the grid.

Documentation Navigation

API Documentation

Tutorials

Demo