Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Sky Rogue

A fwooshy, intense, procedurally generated fly-em-up · By Fractal Phase

Multimonitor mouselock issues?

A topic by frognightmare created Jun 12, 2020 Views: 276 Replies: 3
Viewing posts 1 to 4

This is a pretty fun game, but it appears as if the cursor is not locked at the center while the game is running, even while full screened. Since I have a multimonitor setup with different resolutions, it appears as if the mouse gets stuck when it reaches the edge of the second screen.
I'm using Windows 10 and fullscreen is enabled in the game options.

Developer(+1)

There is a "Lock Mouse" setting in the options which is intended to toggle whether the cursor gets locked inside a non-fullscreen window. I'm not sure if that will do anything to help. I have seen screenshots of people playing the game on multiple monitors but I doubt they were different resolutions. You may want to google for multi-monitor mixed resolution in other games using the Unity engine.

In the meantime, I found what I think is a way of easily adding more explicit support which isn't already in the game (https://docs.unity3d.com/2017.4/Documentation/Manual/MultiDisplay.html).  If you are up for it, you can test out the change since I don't have a multi monitor setup at the moment.

Mouse lock was already enabled when I encountered the issue.

Launching the executable with the flag "-multidisplay" has resolved the issue. Thank you for the quick response.

Developer

Thanks for the reply! I didn't know that flag even existed.