Skip to content

Add mouselook option to unlocked Cinematic View#2638

Closed
oznogon wants to merge 3 commits into
daid:masterfrom
oznogon:cinematic-mouselook
Closed

Add mouselook option to unlocked Cinematic View#2638
oznogon wants to merge 3 commits into
daid:masterfrom
oznogon:cinematic-mouselook

Conversation

@oznogon

@oznogon oznogon commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Using SDL relative mode and deltas passed from the SP fix-relative-mouse-mode branch, capture the mouse and rotate the CinematicViewScreen camera using mouse movements. Touchscreen also works through mouse events.

Add camera y-inversion toggle (camera_mouse_inverted) and mouselook sensitivity (camera_mouse_sensitivity) prefs, add the prefs as Options menu controls, and refactor the Cinematic View controls to make them usable and toggleable with a touchscreen,

After:

Recording.2025-12-15.120321.mp4

Mouselook works with CinematicViewScreen's existing WASD/RF camera movement controls. move_forward/move_backward still move on the camera's horizontal plane, not on the camera's facing vector. This also adds a Shift modifier to increase translation and rotation speeds.

output.mp4

Using SDL relative mode and deltas passed from the SP
fix-relative-mouse-mode branch, capture the mouse and rotate the
CinematicViewScreen camera using mouse movements. Touchscreen also
works through mouse events.

Add camera y-inversion toggle (camera_mouse_inverted) and mouselook
sensitivity (camera_mouse_sensitivity) prefs
Move CinematicView controls and add missing controls to enable
touchscreen use without keyboard.
Split the Interface menu into columns and add mouselook inversion
and sensitivity controls.
@oznogon oznogon closed this Dec 24, 2025
@oznogon
oznogon deleted the cinematic-mouselook branch December 24, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant