D
DanjelRicci
Guest
I know Nocturne said HTML target will get some significant updates soon and this may be a bug already solved for the next version, but I'd like to try and ask regardless since I feel I'm missing something.
Trying with few words first: basically when I set the game fullscreen, mouse input only works in an area as big as the original game size, positioned top-left on the screen.
Now more specifically: suppose my game size is 960*540, placed middle center of a simple web page. After I set the game fullscreen with window_set_fullscreen(true), it fills the screen at 1920*1080... But now mouse input only works in the first quarter of the screen, basically the first 960*540 pixels aligned top left. If I click anywhere after the 960th px horizontal or 540th px vertical from top left, the input is not registered at all. It's like the game only extends the "render area" and not the "clickable area" to full screen. Also in the area where mouse input works, there is no wrong input scaling (mouse x and y are at the correct place).
Hope I managed to explain well... As usual tested on Safari and Chrome, last GM2 version.
Trying with few words first: basically when I set the game fullscreen, mouse input only works in an area as big as the original game size, positioned top-left on the screen.
Now more specifically: suppose my game size is 960*540, placed middle center of a simple web page. After I set the game fullscreen with window_set_fullscreen(true), it fills the screen at 1920*1080... But now mouse input only works in the first quarter of the screen, basically the first 960*540 pixels aligned top left. If I click anywhere after the 960th px horizontal or 540th px vertical from top left, the input is not registered at all. It's like the game only extends the "render area" and not the "clickable area" to full screen. Also in the area where mouse input works, there is no wrong input scaling (mouse x and y are at the correct place).
Hope I managed to explain well... As usual tested on Safari and Chrome, last GM2 version.