/pathfinding_tutorial

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

Primary LanguageJavaScriptMIT LicenseMIT

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 not online yet.

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).