Pathfinding Route Visualization

6

Attached Files

The following files have been attached to this tutorial:

.capx

Stats

4,300 visits, 5,762 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 25 Nov, 2017. Last updated 19 Feb, 2019

Hi, everyone!

If you're working with the Pathfinding behavior (e.g. turn-based strategy project) you probably want to show player the path that object will move along. Unfortunately Pathfinding behavior lacks this functionality. That's why I wrote my own simple algorithm of the path visualization.

Diagonal pathfinding off

Diagonal pathfinding on

All the details you'll find in the heavily commented .capx file that was included in this tutorial.

Hope that you'll find my algorithm useful. Good luck and have fun!

.CAPX
  • 2 Comments

  • Order by
Want to leave a comment? Login or Register an account!