Meester Dennis
Member
Hi everyone,
I have a question about HTML5 games/applications. I create educational tools to show in classes on digital boards, where most of these boards have a touchscreen. In the last updates of GMS2, I found out that the mouse click events are not recognized by the digital boards.
A fellow developer told me (who does not work with GMS2) that the touch event appears to be registered, so the mouse_x and mouse_y are recognized, but the actual clicking event is not transferred to GameMaker. The problem should be similar to this article: https://stackoverflow.com/questions...-touchevents-in-javascript-on-android-devices Since this article’s solution was successfully applied by another (non-GMS) developer, I tried it as well but I have no clue how to implement it because GameMaker generates the Javascript code itself.
To summarise, my HTML5 games can register mouse clicks on mobile phones, computers, laptops, iMacs, etc. but fail to register touch events by large digital touchscreens (55 – 65 inch) in school classes. I want to stress that the mouse is working (because the location of the mouse can be retrieved using mouse_x and mouse_y) but the clicking is not. Is anyone familiar with this issue or can point me into the right direction? I’ve asked a few fellow developers but until now, I haven’t found a solution.
Best,
Dennis
I have a question about HTML5 games/applications. I create educational tools to show in classes on digital boards, where most of these boards have a touchscreen. In the last updates of GMS2, I found out that the mouse click events are not recognized by the digital boards.
A fellow developer told me (who does not work with GMS2) that the touch event appears to be registered, so the mouse_x and mouse_y are recognized, but the actual clicking event is not transferred to GameMaker. The problem should be similar to this article: https://stackoverflow.com/questions...-touchevents-in-javascript-on-android-devices Since this article’s solution was successfully applied by another (non-GMS) developer, I tried it as well but I have no clue how to implement it because GameMaker generates the Javascript code itself.
To summarise, my HTML5 games can register mouse clicks on mobile phones, computers, laptops, iMacs, etc. but fail to register touch events by large digital touchscreens (55 – 65 inch) in school classes. I want to stress that the mouse is working (because the location of the mouse can be retrieved using mouse_x and mouse_y) but the clicking is not. Is anyone familiar with this issue or can point me into the right direction? I’ve asked a few fellow developers but until now, I haven’t found a solution.
Best,
Dennis