Previous Post

MyRobot Development Part 72 - Starting Multiple Robots!

Next Post
MyRobot Development Part 72 - Starting Multiple Robots!
1 / 4
DESCRIPTION

Video shows the summary, text shows the technical!

This week:

Preparing for Multiple Robots

Identifying Feature List

Preparing For Multiple Robots

So before I even start this month long incursion into multiple characters, I need to do some code refactoring and create tooling to easily test this new game feature.

At the moment I created a system for level of detail so that far away objects run cheaper logic depending on the distance from the camera. The biggest bottleneck identified thus far is the animation system. Each robot is relatively expensive to update so I made them update at at a larger interval if it's far away enough. This has all sorts of implications such as modifying the ragdoll animator physics to support animation intervals.

Another big challenge is going to be finding a way to reduce render batches when drawing the robots on the screen. Unfortunately the way the game is set up, each robot part is its own render object totally separate from a traditional skinned mesh renderer. So I may have to do something fancy if I want to fix this.

However the bottlenecks are mostly CPU bound so I'm not too worried about the rendering.

Identifying Feature List

Here are the preliminary goals for Multiple Robots:

Support 10 robots on screen at a stable framerate

Support social interactions between each other (talking, animating, etc.)

Support basic combat

Create the robot factory in the Forest.

Populate a couple desert settlements with some robot NPCs

That's IT. I have allocated 4~5 weeks to finish this milestone. Any comments or concerns? Comment below!

Stay tuned!

sgthale PATREON 193 favs
VIEWS1
FILES4 files
POSTEDSep 25, 2025
ARCHIVEDJun 10, 2026