Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 640 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 640 Bytes

pathfinding_tutorial

Demo for a tutorial showing how to perform pathfinding and move a sprite accordingly with Phaser 3.

The demo can be found here.

The tutorial is available here.

Running the demo

Place all the files on your local web server and navigate to index.html.

You can move around by clicking on the map. The colored areas are tiles that have a cost attached to them, so the pathfinding algorithm witll try to avoid them if possible (unless all alternative paths are much longer).