Closed shichen85 closed 6 months ago
i have same issue
When will this bug be fixed?
There is also a problem with device_mouse_y_to_gui() when in portrait mode
Occurs on iPhone 12,13 mini
ide 23.8 ,runtime 23.8 works fine, but the but since 23.11, I've been experiencing this problem
Note that the other duplicate reports say that this is not actually specific to the iPhone 13 mini, and indeed that all iPhones back to 6 show this issue when in portrait mode specifically.
I have amended the title again to show we have received this message and do not need a fourth report over the holiday period...
This is a problem in gamemaker since runtime 23.11, as it worked fine in gamemaker runtime 23.8.
Not an ios issue
If you use device_mouse_y_to_gui, you can use the the return value is appended with an offset value. (Tested on iphone 12,13 mini)
Also having this problem. Tested in virtual devices as well as real physical devices. All iOS builds experiencing this problem in portrait. Does anyone know a workaround? I need this issue fixed to hit a deadline.
@shichen85 I haven't been able to confirm on an iPhone 13 Mini, but I have found and fixed what looks like a related issue with zoom, I'm fairly certain it'll be the same root cause. Could you check in the next beta and confirm that this is fixed?
@jackerley Just tested and can confirm that 2024.200.0.486 fixed this issue on iPhone 13 mini
Excellent, thanks @shichen85
The zoom fix mentioned above is https://github.com/YoYoGames/GameMaker-Bugs/issues/4304
Description
device_mouse_x_to_gui() somehow returns value that are slightly offset when running on iPhone 13 Mini but not on other iPhone models.
The sample project has a room that is 1920 x 1080. When tapping on top right corner red dot, iPhone 13 mini's device_mouse_x_to_gui() returns 1999 instead of 1920 as on other devices or iPhone 13 mini emulator.
This is replicated on iPhone 13 Mini running OS 16.6, 15.3.1, and 15.0.2, so it is probably OS agnostic.
Steps To Reproduce
iPhone 13 Mini running OS 16.6 and 15.3.1 can be accessed from AWS device farm https://aws.amazon.com/device-farm/device-list/
f41330ff-4ef1-412a-b154-41883556bed0