TeamHypersomnia / Hypersomnia

Multiplayer top-down shooter made from scratch in C++. Play in your Browser! https://hypersomnia.io Made in 🇵🇱
https://hypersomnia.io/
GNU Affero General Public License v3.0
1.14k stars 49 forks source link

Mouse Input Offset in Menu - MacOS #266

Open evan-annix opened 1 year ago

evan-annix commented 1 year ago

Issue:

Mouse input is in the X and Y axis when at the main menu or settings, making some settings/buttons impossible to interact with. This is in comparison to the cursor/crosshair during gameplay which is able to reach all 4 corners of the screen.

Screen Capture:

Hypersomnia MacOS Mouse Error | YouTube.com

System Information:

System Report
Model Identifier MacBookPro18,2
Model Number FK1A3B/A
Chip Apple M1 Max
Total Number of Cores 10 (8 performance and 2 efficiency)
Memory 32 GB
System Firmware Version 8422.121.1
OS Loader Version 8422.121.1
Serial Number (system) XXXXXXXXXX
Hardware UUID XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Provisioning UDID XXXXXXXX-XXXXXXXXXXXXXXXX
Activation Lock Status Enabled
geneotech commented 1 year ago

Thanks a lot for the report! I admit I didn't launch MacOS in a while (not many players on it until now either haha) so it's a bit neglected, I'll see what I can do, probably something in the window input handling code

geneotech commented 1 year ago

Hey there, for a quick workaround, set raw_mouse_input = true on line 675 in hypersomnia/default_config.lua. I'll later fix this problem or make this setting default on MacOS :)

geneotech commented 1 year ago

I shipped an update that sets this option to default on MacOS, and the game will go straight into fullscreen. The game should download updates automatically :+1: Thanks for reporting!

succguin commented 5 months ago

its not there anymore on line 675 for mac.