20 Minutes Till Dawn

20 Minutes Till Dawn

View Stats:
Destro Dec 27, 2022 @ 1:28am
Option to lock the mouse cursor to the screen.
I'm using 2 monitor and when I play I keep killing myself by clicking my cursor off the game screen, it would really help if you added an option to lock the cursor on the screen or automatically pause the game when I click off the screen by mistake.
< >
Showing 1-9 of 9 comments
svyerkgeniiy Jan 13, 2023 @ 4:00pm 
Yes, the game should (at least optionally) lock the cursor to the game window. I too keep finding that my mouse wanders off the screen, then the game will auto-target only and not allow me to aim. The only solution is to give up and start a new game. This is a frustration that I hit all the time.

Wish I could upvote or emphasize this post to others somehow?
Last edited by svyerkgeniiy; Jan 13, 2023 @ 4:01pm
svyerkgeniiy Jun 9, 2023 @ 12:36pm 
I wish I could vote this up. It absolutely RUINS a run because even when you click back, your mouse aim is completely GONE and it chooses a target for you. If you've clicked off you can't even move and are helpless to the charging pony dragon or whatever he is. I've had a dozen games ruined this way.

Please Flanne fix your stuff.
Vytorria Jun 19, 2023 @ 6:36pm 
+1, hate the lack of cursor lock
Jacobella Jun 20, 2023 @ 6:23am 
I also suffer from this very problem
Radiowavehero Jun 20, 2023 @ 6:49am 
There are free programs that do this, not to say this shouldn't be a game option but if it is ruining your gameplay you can do something about it until the dev adds the option.

Or if you don't want to download something you can right click anywhere on the desktop , click display settings , go to your monitor display settings the screens 1 and 2 , and just pull 2 way off and to the upper right, they will snap back together but they will only be connected diagonally at the corner now so moving to the other monitor accidentally will be harder.
Strom Jan 2, 2024 @ 12:00pm 
Originally posted by Radiowavehero:
There are free programs that do this, not to say this shouldn't be a game option but if it is ruining your gameplay you can do something about it until the dev adds the option.

Agreed that the game should just natively support this. I've died twice now from cursor out of screen issues, one just now at the final boss on the first stage after 20 minutes, super frustrating to die to this. This is actually super easy to implement in Unity. Just add a toggle to your options menu called something like "Lock Cursor to Game Window" and have it call a function passing a dynamic bool from the toggle element and have an if/switch statement that sets:

Cursor.lockState = CursorLockMode.Confined; if true
and
Cursor.lockState = CursorLockMode.None; if false.

Boom done! I have this in my games if you guys want a copy of my script.
Last edited by Strom; Jan 2, 2024 @ 1:17pm
I have a single monitor, but I too have experienced the cursor auto targeting. Couldn't identify the reason, it just happened twice mid game after leveling up. Is there an upgrade that does this? I don't remember seeing it in any of the upgrades' description.
Epic version.
Strom Mar 8, 2024 @ 12:47pm 
Still looking for a lock cursor option, multi monitor folks are dying! :(
I'll be honest, I near 100%'ed the game by now without ever using the mouse. I just immediately press space to auto-aim. Not a direct fix but may alleviate the problem,
< >
Showing 1-9 of 9 comments
Per page: 1530 50