Middle Mouse Button to rotate camera
Hi,
I would like to suggest to allow rotating the camera by holding down the middle mouse button and then moving the mouse to the left and right.
Alternatively, allow the right mouse button to be used in that way as well, depending on what the player feels is more convenient.
It should work exactly as if you press CTRL and then use the left and right arrow keys.
I think middle mouse would conflict with the snap-to-angle feature, and RMB would accidentally rotate the camera on slapping. What do you think?
Not sure if that is possible programming wise, but what if you add a small 1-2 second delay of needing to hold down the right mouse button and then it will swap to rotate mode?
And as slapping is such a quick action, the way it would interfere with it wouldn't be that annyoing, would it?
As long as it's added as an optional feature, so that those that don't want RMB camera rotation can have it off.
Somebody did implement it a while back, and yes, there it did interfere. Quickly slapping lots of units would cause the camera to go wonky. Everything could be done well enough of course, but at the moment it's very easy to have conflicting controls. So I'd understand your request, but at the moment I say not really worth the effort. This could be reconsidered after the controls are refactored and it would be easier to have configurable controls.
Just voicing another request for this since it stops me from needing to use the keyboard. Maybe as an option at some point for those of us willing to test it for you.
I would love to see this feature. It's a common UX element in topdown games.
Not sure if that is possible programming wise, but what if you add a small 1-2 second delay of needing to hold down the right mouse button and then it will swap to rotate mode?
I think it wouldn't be too hard to have it snap if you just release MB3, but have it rotate when you hold MB3. Logic wise it's just checking whether or not the camera or cursor has moved whether you want to snap or not.