Skip to content

Rework of Tube Distribution Blocks Description#84

Open
Jovinull wants to merge 3 commits intostabu-dev:v8-portfrom
Jovinull:feature/tube-blocks-rework
Open

Rework of Tube Distribution Blocks Description#84
Jovinull wants to merge 3 commits intostabu-dev:v8-portfrom
Jovinull:feature/tube-blocks-rework

Conversation

@Jovinull
Copy link
Copy Markdown

The Tube Gate block was split into two distinct classes, TubeOverflowGate and TubeUnderflowGate, to simplify logic and provide separate items in the building menu. The TubeRouter class was refactored with an internal item buffer and a dynamic speed multiplier to increase throughput without breaking the single-item animation cycle. Visual rendering was updated for all distribution blocks to apply a rotational offset during curve transitions, ensuring that dividers now physically push items from behind instead of overlapping them. Finally, the block definitions were updated to reflect the new class structure.

@stabu-dev stabu-dev self-requested a review March 11, 2026 22:22
Copy link
Copy Markdown
Owner

@stabu-dev stabu-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Animations are just off:

  • rotors rotation is jumping onto a different angle after transporting an item;
  • rotors start spinning very fast when there is more than one input;
  • items in the gates often visually go in one direction, but are actually transported to another.

I recommend using the Time Control mod to view it at a slowmo.
Any questions? Ask here or on Discord.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need for separate classes when you just can reverse an overflow gate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants