Hello,
I am trying to understand how automation/ factory games track and display entities efficiently. When I look at Dyson Sphere Program (DSP), Factorio, or any others the amount of computation spins out of control as the factory expands.
The factory portion makes the most sense.
Building 1 (B1) produces 5/sec which connects to building 2 (B2).
Even if B2 could operate at 10/sec it is limited by the input: 5/sec.
Adding a splitter to the line coming out of B1 would reduce the flow to B2 to 2.5/sec, decreasing B2 output to 2.5/sec. there by creating a cascade down to all the buildings attached to it.
The issue I am running into is the items on the convener belts. When I leave the area, I no longer render the items on the belt, but when I reenter that area again I need to show them. Without tracking each item on the belt, i am not sure how to do it. The problem seams to compound when there are “incorrect” items on the belt.
Thank you for any help,
Rich