View Issue Details

IDProjectCategoryView StatusLast Update
0023874Runner[All Projects] HTML5Public2017-03-02 15:30
Reportericuurd12b42Assigned ToFritz 
PriorityMediumSeverityB - MajorReproducibility100%
Status ClosedResolutionFixed 
PlatformHTML5OSChromeOS Version
Product Version 
Target VersionFixed in Version 
Summary0023874: HTML5: device_mouse_x_to_gui() and device_mouse_x_to_gui() are broken
Descriptiondevice_mouse_x_to_gui reports wrong coord in html5
device_mouse_y_to_gui reports wrong coord in html5

The example has the view coord at 2000,2000, as you can see the gui_mouse returns x,y plus the view offset
 
Have not tried with a zoomed view but I recommend you try with that

I also recommend you verify display_set_gui_size in the process
Steps To ReproduceExample file is self-explanatory.
1.4 Found In1.4.1757
2.x Runtime Found In
2.x Runtime Verified In

Activities

icuurd12b42

2016-09-27 01:48

Updater  

gui_button_test.gmz (20,700 bytes)

icuurd12b42

2016-09-27 01:54

Updater   ~0049099

if you set the view to 102x76, making a zoomed view you will see the result is 2000,2000 to 2102,2075

Someone's done messed that up ;)

Andrey

2016-09-29 07:46

Reporter   ~0049266

I have a similar problem:
http://help.yoyogames.com/hc/en-us/requests/110546