Great work on the project! Runs on Linux with zero additional effort, just as it should!
I think it would make sense to allow users to unlock the mouse on a keypress. It's especially relevant for systems with "focus on hover", which you can't really do anything without turning the game off.
It should be relatively simple - SfmlUserInput.BuildTicCmd could just check for a special button, calling
and setting a flag. On click, if the flag is set, restore the cursor being grabbed.
If the flag is set, UpdateMouse should not be called
I am not sure how to add this keybinding to the help screen, if possible at all. Are these screens rendered or just taken from wad?
Great work on the project! Runs on Linux with zero additional effort, just as it should!
I think it would make sense to allow users to unlock the mouse on a keypress. It's especially relevant for systems with "focus on hover", which you can't really do anything without turning the game off.
It should be relatively simple -
SfmlUserInput.BuildTicCmd
could just check for a special button, callingand setting a flag. On click, if the flag is set, restore the cursor being grabbed. If the flag is set, UpdateMouse should not be called I am not sure how to add this keybinding to the help screen, if possible at all. Are these screens rendered or just taken from
wad
?