How do NPCs navigate environments? Pathfinding with Pyglet in Python

Publié le: 19 février 2023
sur la chaîne: Dreams of Code
5,759
195

In Games, NPCs help to make the experience richer and fuller for the player. In order to do that, they require the ability to navigate the games environment. In this video, we look at how that's done using two algorithms that are made especially to solve this problem.

#python #gamedev #pathfinding

Code from Video: https://github.com/dreamsofcode-io/pa...

0:00 Intro
01:53 - Line of Sight movement
03:49 - Graph Theory
04:40 - Dijkstra's Algorithm
07:32 - A-Star Algorithm
08:48 - Final Resultgame Dev


Sur cette page du site, vous pouvez voir la vidéo en ligne How do NPCs navigate environments? Pathfinding with Pyglet in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Dreams of Code 19 février 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,759 fois et il a aimé 195 téléspectateurs. Bon visionnage!