s25client icon indicating copy to clipboard operation
s25client copied to clipboard

Add invert mouse option

Open Flamefire opened this issue 5 years ago • 7 comments

Requested here: https://www.siedler25.org/index.php?com=forum&mod=forum&action=thread&id=1572&start=-1#last

There should be an option to invert the direction for map scrolling.

@Spikeone Which setting is "inverted"? Mouse moves right -> Map moves left (you see more on right) as it is currently and in S2 or the other way round?

Note: This function already exists, it is just missing an option entry

Flamefire avatar Nov 25 '18 18:11 Flamefire

@Spikeone ?

Flamefire avatar Dec 03 '18 22:12 Flamefire

Well - inverted is the opposite of the current direction? Normal is: Move mouse right, scroll right, so inverted is move mouse right, scroll left

Spikeone avatar Dec 04 '18 20:12 Spikeone

This doesn't quite answer it.

Currently you basically move the camera/window over the map. Or you move the map inversed to the mouse (which is the same). You could also expect to move the map with the mouse and not the camera. Do you know of any other RTS games with "inverted" mouse setting? What is the "normal" there?

My point: "Inverted" could be the default and you can disable it. Or the other way round.

Flamefire avatar Dec 04 '18 21:12 Flamefire

C&C Zero Hour - like RttR Civ5 - inverted to RttR (optimized for Touchscreen) OttD - like RttR

Any other strategy game I've got installed doesn't use scrolling by holding right or leftclick.

I don't think one can say that any modern game does use an option that is inverted to RttR. Although I have to agree that a lot of people use their smart phones quite a lot - swipe left to scroll right it is as you kinda anchor one point and shift it away so you see more the opposite direction.

I'd still leave it Settlers 2 default but add the option. Maybe we should add a startup window (like for debug data) which is shown on first start introducing some of our new features? Or at least hinting where you could find them.

EDIT (some morning thoughts): As there have been quite a lot of requests (and nearly everything has been already thought of like a strawberry farm) but nobody ever asked for an invert mouse setting, the default shouldn't be changed as one has to assume any other player likes the current way.

Also I think the Settlers2 rightlick is an early version of edge scrolling - move your mouse to the right side of the screen to scroll right. But that surely could be wrong.

Spikeone avatar Dec 04 '18 22:12 Spikeone

the default shouldn't be changed

This was never up for discussion. We can call the current handling "inverted" and make it the default.

Unless there is someone against this I'd call the current handling "Normal" and the other "Inverted" as it seems to be impossible to get a standard definition what "Normal" is. So I'll define "Normal" as "as in S2 original"

Flamefire avatar Dec 05 '18 08:12 Flamefire

@Flamefire

My point: "Inverted" could be the default and you can disable it. Or the other way round.

Sorry, got that wrong then. I actually think that in newer games (if they support click scrolling) Settlers 2 seems inverted - but then again whats a new game and when do they become old. If we'd like to stay save just call it "original" and "inverted" that way everybody should understand, that inverted means inverted to the original. It's like in some games that include airplanes you can fly - sometimes you have to invert controls, sometimes you don't so there is no real normal, just as you said.

Spikeone avatar Dec 05 '18 09:12 Spikeone

This was never implemented, right? I'd really like to "invert" the camera scrolling, so it feels like I'm dragging the camera around. I'd also like an option for the camera scroll speed, and that the speed scales with the current zoom level.

UPDATE

Having had a peek at the code (and seen the original posts comment; "Note: This function already exists, it is just missing an option entry"), I can see that revert_mouse actually inverts the camera scrolling, so that's good. I'd still like for the camera speed to be adjustable, and have it scale with the current zoom level. A good rule of thumb would be to have the mouse cursor "stay on the same pixel" when the user drags the camera around. Also, why is the speed changed depending on the smart cursor state? int acceleration = SETTINGS.global.smartCursor ? 2 : 3; I also feel like ZOOM_WHEEL_INCREMENT should be adjustable and not a constant 0.03f;. ZOOM_WHEEL_INCREMENT = 0.03f; is almost unusable with my mouse wheel, but ZOOM_WHEEL_INCREMENT = 0.25f; feels pretty good.

Hezkore avatar Mar 06 '22 17:03 Hezkore

I just got back into Settlers II the other day, bought the History Edition but was quickly disapointed when I found out they still haven't fixed ships.

After trying RTTR the first thing I noticed what that scrolling was inverted (and too fast), so I guess +1 for this enhancement. I'm not sure which direction the original S2 used, but compared to the HE (and most of my other RTS expirences), the RTTR scrolling is "inverted" for me.

theKalash avatar Oct 31 '22 17:10 theKalash