Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebsowter/phaser-pathfinder
Find a path between two points using the A* algorithm.
https://github.com/sebsowter/phaser-pathfinder
Last synced: about 1 month ago
JSON representation
Find a path between two points using the A* algorithm.
- Host: GitHub
- URL: https://github.com/sebsowter/phaser-pathfinder
- Owner: sebsowter
- Created: 2019-10-17T00:21:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-04T20:26:41.000Z (over 1 year ago)
- Last Synced: 2023-07-04T21:25:04.899Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://sebsowter.github.io/phaser-pathfinder/
- Size: 1.89 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phaser 3 Pathfinder
Find a path between two points using the [A\* algorithm](https://en.wikipedia.org/wiki/A*_search_algorithm).
![Pathfinder](https://user-images.githubusercontent.com/7384630/67167093-b12d8700-f38d-11e9-8dcf-b92d5e0ca441.gif)
Inspired by [Sebastian Lague](https://twitter.com/sebastianlague)'s [coding tutorial on pathfinding](https://www.youtube.com/watch?v=-L-WgKMFuhE).
[View the demo](https://sebsowter.github.io/phaser-pathfinder/)
## Installation
Ensure you have [Node.js](https://nodejs.org) installed.
Clone this repo and `cd` to project directory.
```
npm i
```## Tasks
Run the development server to preview locally.
```
npm start
```Create a production build.
```
npm run build
```