#Screen modes, and mouse lock in a PC game?

1 messages · Page 1 of 1 (latest)

slow quiver
#

I have a first person game that use mouse and keyboard.
I added Full screen mode, Full screen window mode, and window mode.
When the player use the mouse and keyboard, I do not lock the windows mouse into the center.
This is kind of weird, do I lock the mouse to the center and not let the user use his computer without alt tabbing?
Do I not lock the mouse?

I don't know what to do.
The issue is one user complained that he has multiple monitors, and having to play the game where the mouse gets out of his monitor, is frustrating.

What should I do to answer all users requirements for mouse and keyboard and screen modes?

prime maple
slow quiver
#

Even in window mode?

prime maple
#

But idle games aren’t first person shooters 🙃

slow quiver
#

And then when I alt tab it won't lock it? Or I need code for that? Because now I should also allow "background processing", right? Otherwise people won't know what it doesn't load when they don't look at the window?

prime maple
#

You can ofc store the mouse position before lock and restore it on unlock if you want

prime maple