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
Auf dieser Seite können Sie das Online-Video A* Pathfinding (E06: weights) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Sebastian Lague 11 Januar 2015 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 120,781 Mal angesehen und es wurde von 1.5 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!