项目作者: Jerenaux

项目描述 :
Demo for a tutorial showing how to perform pathfinding and move a sprite accordingly with Phaser 3
高级语言: JavaScript
项目地址: git://github.com/Jerenaux/pathfinding_tutorial.git
创建时间: 2018-02-25T13:18:11Z
项目社区:https://github.com/Jerenaux/pathfinding_tutorial

开源协议:MIT License

下载


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