Diagonal selection box

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
Devis
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 22, 2018 4:02 pm
Contact:

Diagonal selection box

Post by Devis »

TL;DR
Make selection boxes on the deconstruction planner be able to rotate to better handle rail and/or tile placing
What ?
While you are selecting entities with the deconstruction planner, simply press R (rotate) once to shift the verticals by 45° degrees. Another R tilts them in the other direction. Pressing R a third time should return to normal.
Why ?
The deconstruction planner is frustrating as hell when dealing with diagonal rails.
Often than not I press R in anger in the hope that the selection box magically rotates for me but sadly, here I am.
Here an example, followed by a possible solution:
Drag box problem.png
Drag box problem.png (3.83 MiB) Viewed 1946 times
Drag box solution.png
Drag box solution.png (3.83 MiB) Viewed 1946 times

User avatar
tobsimon
Fast Inserter
Fast Inserter
Posts: 104
Joined: Wed Apr 29, 2015 10:58 am
Contact:

Re: Diagonal selection box

Post by tobsimon »

Yes that would be a cool little feature. However I would prefer the rotated selection box to still be of rectangular shape (rotated 45°), instead of the parallelogram you drew. Because with the parallelogram you do not only have the choice between left slanting or right slanting diagonals but also the choice between keeping verticals or horizontals for the grid-aligned edges. And that I think are a bit too many options and it is not clear how to order them as a roation. I understand however, that for such a diagonal waiting area, the fitting parallelogram selection would be quiet ideal.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Diagonal selection box

Post by eradicator »

The idea is neat, but a rotated square would simply deconstruct different things it's not supposed to deconstruct (as can be seen on the right side of your screenshot. I'd much rather have a simple line-shaped deconstruction option that deconstructs anything between the points where i start/end dragging it.
That could be extended into a two-step select if required. Adding a second dimention (converting line to parralelogram) by drawing with the mouse a second time.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Koub
Global Moderator
Global Moderator
Posts: 7199
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Diagonal selection box

Post by Koub »

A rectangle would maybe be more suitable. There's only one possible rectangle with 45° rotation from horizontal/vertical and a given diagonal.
Koub - Please consider English is not my native language.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Diagonal selection box

Post by eradicator »

Here's an example of double-drag select:
parralelogram.png
parralelogram.png (13.28 KiB) Viewed 1897 times

I guess i'm just used to it because that's how "extrude" in 3D-moddeling works. Once Start and middle are fixed you can freely move the mouse to get any of the three end shapes (or any other arbitrary angle). The middle point could also be set by right-clicking while left-click-dragging, that way it could be used any time during a normal drag selection. (Sadly mouse-drag isn't moddable. D:)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Ideas and Suggestions”