![]() If you have bower installed then you can install it with the following command: bower install pathfindingīy default bower will install pathfinding under the bower_components folder, so to include it in your page do something like: See the Basic Usage section below for usage details. Then, in your program: var PF = require( 'pathfinding') If you want to use it in Node.js, you may install it via npm. Note that this is in very early stages and far from complete so keep your eyes open for mistakes and don't hesitate to open a pull request in case you find one. ![]() There is new documentation being written for PathFinding.js. If you need to work in a 3D environment, then you may use fork. Note that this project only provides path-finding algorithms for 2D space. (The pathfinding speed is slowed down in the demo) It comes along with an online demo to show how the algorithms execute. The aim of this project is to provide a path-finding library that can be easily incorporated into web games. ![]() PathFinding.js A comprehensive path-finding library in javascript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |