• Register
Post news Report RSS Local Avoidance

Continuing the arduous task of working out a good pathing solution for Assembly RTS, a real-time strategy game with deep customization mechanics, there is hope on the horizon! Discover seemingly endless possibilities. Assemble your perfect army and conquer the enemy! Build a base, gather resources and persist in a hostile, arctic new ice age.

Posted by on

Welcome to a new devlog for Assembly RTS, the strategy game with deep customization options!

IndieDB Header Image 001


Hello fellow strategy game enthusiasts! It's almost been a month since I started completely rewriting and enhancing the pathfinding for my game. In this short update I'm going to get into what I've been up to over the past two weeks.

Local Avoidance

The past two weeks I've been struggling with implementing a well-rounded solution for local avoidance (logic ensuring that units don't run into each other).

Often I find myself poking and prodding at different ways to enhance the logic, generally met with unworkable results.

Actually, a common way to implement local avoidance is using the RVO/2 algorithm.
However, I'm afraid that using RVO/2 could get very complicated in certain situations.
I'm still hoping that my own take on local avoidance could avert some of these shortcomings and complexities right from the start.

However, there are still a lot of issues with my current approach.
I won't get into detail on how it works (because I like to keep some secrets 😊), but currently the most prevalent issue is that units can't make up their minds on which way to go around oncoming traffic.

"Should I go left or right?"
"Lets go left!"
"Wait a second, let's evade to the right instead!"
"On further consideration, lets go left!"

As you can imagine this often results in units colliding with each other.

An example where everything went fine :)
early pathing demo smol


I expect to work a couple more weeks on this topic before moving on to other tasks.

But in the meantime... Consider wishlisting Assembly RTS on Steam - The atmospheric physics-based real-time strategy game with deep customization options, built for seamless multiplayer!

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: