View Issue Details

IDProjectCategoryLast Update
0028315Heart Of The MachineGUIJun 18, 2024 3:09 pm
ReporterCyborg Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.511 The Monday Crew 
Fixed in Version0.549 Of Mice And Crowns 
Summary0028315: Middle mouse button for panning
DescriptionMiddle mouse button should do the same thing as WASD
TagsNo tags attached.

Activities

Chris_McElligottPark

May 21, 2024 7:36 pm

administrator   ~0068457

You know, I wound up also trying to do this the other day. First time in a year of playing it, and suddenly that was my thought. But yeah, agreed.

Bobtree

May 25, 2024 12:05 pm

reporter   ~0068636

The panning direction should be invert-able, so it works for both "drag the map" and "drag the camera" mindsets.

Middle mouse click is also my preferred default button.

Alias50

May 25, 2024 2:01 pm

developer   ~0068637

I'm not opposed as long there is still a way to move the camera the way middle mouse allows now.
I like the way holding middle mouse allows me to rotate the camera, it works really well when wanting to zoom in/out and view things from different angles. But I also agree that most games have camera movement on the mouse as well

Maybe make all of this re-bindable in the controls menu? And set a default that feels right/most people would prefer. In this case I might set one of my side mouse buttons to current middle mouse behavior and then have WASD on middle mouse.

Chris_McElligottPark

May 25, 2024 2:24 pm

administrator   ~0068640

The rotation for the camera can currently be done by holding the left mouse, middle mouse, or R key. So moving the middle mouse to pan seems like there would still be lots of room.

Also, yes, those functions are re-bindable in the controls menu.

What is NOT rebindable in the controls menu, and can't be (for the moment, anyway) due to the nature of how things work, are the primary functions of the left and right mouse buttons. Those things have special logic for holds, presses, drags, etc, in a very complicated way that can't be run through the normal controls detection system without a big expansion there. If I ever needed to do that, which I don't think is a thing, then I could spend a few days expanding the controls system and go through a bunch of follow-up bugs that would cause.

But aside from those two singular things, all of the secondary functions of those two keys, and then every other key in general, are all rebindable.

Chris_McElligottPark

Jun 4, 2024 9:37 pm

administrator   ~0069024

bumping for myself

Chris_McElligottPark

Jun 18, 2024 2:57 pm

administrator   ~0069259

Thanks!

* Substantial mouse handling updates:
** The game now has a grab-and-pan function that defaults to middle mouse button, in roughly the same way that this works in AI War 2 and a variety of other games.
*** You can also set the sensitivity of this on the Input tab of the Settings menu.
** When you are either in mouse-pivot mode, or mouse-grab mode, it now hides the mouse cursor and thus prevents it from moving over top of a lot of things or out of the window, etc. Without this, it can be very awkward to grab and pan in particular, but even rotation can be problematic depending on how your mouse sensitivity is set compared to your monitor's visual size.
*** Normally this would orphan your cursor back in the center of the screen, which would be super annoying and which is why I never implemented anything like this in the past in prior games (all of the options for this were deeply windows-specific). However, thanks to the new unity input system, I'm able to return your mouse cursor to where you expect it to be, in a cross-platform fashion.

Chris_McElligottPark

Jun 18, 2024 3:09 pm

administrator   ~0069260

Thanks!

* There are now individual mouse-inversion toggles in the settings menu for both the mouse pitch/incline, and grab-pan modes.

Issue History

Date Modified Username Field Change
May 21, 2024 6:43 pm Cyborg New Issue
May 21, 2024 7:36 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
May 21, 2024 7:36 pm Chris_McElligottPark Status new => confirmed
May 21, 2024 7:36 pm Chris_McElligottPark Note Added: 0068457
May 25, 2024 12:05 pm Bobtree Note Added: 0068636
May 25, 2024 2:01 pm Alias50 Note Added: 0068637
May 25, 2024 2:24 pm Chris_McElligottPark Note Added: 0068640
Jun 4, 2024 9:37 pm Chris_McElligottPark Note Added: 0069024
Jun 18, 2024 2:57 pm Chris_McElligottPark Note Added: 0069259
Jun 18, 2024 3:09 pm Chris_McElligottPark Status confirmed => resolved
Jun 18, 2024 3:09 pm Chris_McElligottPark Resolution open => fixed
Jun 18, 2024 3:09 pm Chris_McElligottPark Fixed in Version => 0.549 Of Mice And Crowns
Jun 18, 2024 3:09 pm Chris_McElligottPark Note Added: 0069260