Open DragoniteSpam opened 1 month ago
Same results for at least the two web platforms in June monthly, so have updated the info now. Will need to check the other platforms to confirm they fail in monthly also.
I could confirm this is happening on Mac and Ubuntu in 2024.6 , however, I could only reproduce the issue on mac a few times. When I first ran the project after importing got the issue, then running the project again did show the expected results. Running the project using the Windows IDE targeting Mac does not reproduce. On Ubuntu I got a repro of 100%.
The same issue is reported for HTML5 here: https://github.com/YoYoGames/GameMaker-Bugs/issues/6824
I can't reproduce the issue on macOS (Macbook Air M2), but I can confirm mouse lock doesn't work on Ubuntu. Apparently it's because of Wayland, which doesn't support moving the mouse cursor with code. When I disable Wayland (see https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop), it starts working. The same applies to functions window_mouse_set()
and display_mouse_set()
- both don't work on Ubuntu with Wayland enabled. It doesn't seem like we can fix this. Maybe we should add a warning about this to the manual for all these functions? @YYBartT @gurpreetsinghmatharoo
And Linux fanatics wonder why more people don't want to use it 🙃
Added a note to the window_mouse_set()
, display_mouse_set()
and window_mouse_set_locked()
function pages.
Description
I'm not entirely sure when it stopped working, but it definitely was working fairly recently.
Steps To Reproduce
Which version of GameMaker are you reporting this issue for?
2024.6 (Monthly) IDE v2024.800.0.606 Runtime v2024.800.0.630
Which platforms has this been reproduced on?
HTML5 GX.games
Which operating system(s) are you seeing the problem on?
Windows 10.0.19045.0
d19db29e-adc7-40bf-a4f0-c82a1284bbc1