Algorithms for Enemy Separation while Pathfinding

Publié le: 08 février 2024
sur la chaîne: FoozleCC
1,271
110

A common problem encountered in making games is keeping enemies from "clumping" up into a big stack as they move around in the world. This video covers a range of topics including boids, repulsion, pathfinding, flood fill/breadth first search, potential fields, cellular automata, and a quick and dirty implementation which is simple yet effective. I focus on repulsion and and flood fill working together as that is what I am using in my Twin Stick Survivor.

Pertinent Links!
The Coding Train:    / @thecodingtrain  
Boids: https://editor.p5js.org/codingtrain/s...
Pathfinding Overview: https://www.redblobgames.com/pathfind...
Cellular Automata Game of Life: https://alexandrunst.github.io/Game-o...


Consider liking, subscribing, or supporting me on Patreon if you enjoyed!
https://bit.ly/PatreonFoozleCC

Come chat in Discord:   / discord  

I enjoyed making this and hope you enjoyed it :) Please leave your comments down below on what you would like to see next and if you enjoyed it please subscribe!

Cheers-
Foozle


Sur cette page du site, vous pouvez voir la vidéo en ligne Algorithms for Enemy Separation while Pathfinding durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur FoozleCC 08 février 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,271 fois et il a aimé 110 téléspectateurs. Bon visionnage!