Pathfinding to a moving target in evolving terrain
In this post, I'm going to describe how I used direction fields to introduce fast and dynamic pathfinding to a browser game.I recently published a free browser game, developed in Unity, called Build + Brawl. In Build + Brawl, the player moves their character to avoid swarms of approaching enemies. The environment contains impassable obstacles — some generated at random, some placed by the player — that the enemies must route around as they approach the player. There are off-the-shelf solutions f...
Read more at holm.dog