View Issue Details

IDProjectCategoryLast Update
0028406Heart Of The MachineGUIJul 31, 2024 3:10 pm
ReporterBobtree Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.521 Mental Energy Visibility 
Fixed in Version0.549 Of Mice And Crowns 
Summary0028406: view manipulation by mouse should hide and freeze the cursor position
DescriptionIt's clumsy to have the mouse hit the edge of the game window and stop the view rotation prematurely. Make the cursor hidden and its position frozen, so you can look as much as you like without having to move/click/drag multiple times.

The same should be done for middle-mouse click+drag to pan the view, if that gets added.

And if window-edge view panning were added, then having the mouse end up at the edge unintentionally would also trigger that, which adds extra frustration.

TagsNo tags attached.

Relationships

related to 0028891 resolvedChris_McElligottPark Other - Cursor is hidden only after it travels a substantial distance 
related to 0029207 assignedChris_McElligottPark Other - Dragging the camera with mouse leads to the cursor being in the center no matter where it was beforehand 

Activities

Chris_McElligottPark

Jun 18, 2024 2:55 pm

administrator   ~0069258

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.

Issue History

Date Modified Username Field Change
May 25, 2024 8:38 pm Bobtree New Issue
May 26, 2024 1:02 am Chris_McElligottPark Assigned To => Chris_McElligottPark
May 26, 2024 1:02 am Chris_McElligottPark Status new => confirmed
Jun 18, 2024 2:55 pm Chris_McElligottPark Status confirmed => resolved
Jun 18, 2024 2:55 pm Chris_McElligottPark Resolution open => fixed
Jun 18, 2024 2:55 pm Chris_McElligottPark Fixed in Version => 0.549 Of Mice And Crowns
Jun 18, 2024 2:55 pm Chris_McElligottPark Note Added: 0069258
Jun 19, 2024 2:00 pm mblazewicz Relationship added related to 0028891
Jul 31, 2024 3:10 pm mblazewicz Relationship added related to 0029207