2015-01-11
[public] 93.4K views, 1.52K likes, 10.0 dislikes audio only
In this episode we implement a system where we can assign a movement penalty to different types of terrain such that the pathfinding is not limited to finding the shortest path, but also the 'easiest' path. e.g. using roads; avoiding bogs.
Source code: https://github.com/SebLague/Pathfinding
If you'd like to support these videos, you can make a recurring monthly donation (cancellable at any time) through Patreon: http://bit.ly/sebPatreon
Or a once-off donation through PayPal:
http://bit.ly/SupportGamedevTutorials