-
Notifications
You must be signed in to change notification settings - Fork 83
HTML5: Delay+Stutter upon Touch #664
Copy link
Copy link
Open
Labels
HTML5This issue refers to an issue which only happens on this targetThis issue refers to an issue which only happens on this targetgms2-bugIn-game bugs with the "GameMaker Studio 2" runtimesIn-game bugs with the "GameMaker Studio 2" runtimes
Metadata
Metadata
Assignees
Labels
HTML5This issue refers to an issue which only happens on this targetThis issue refers to an issue which only happens on this targetgms2-bugIn-game bugs with the "GameMaker Studio 2" runtimesIn-game bugs with the "GameMaker Studio 2" runtimes
Type
Fields
Give feedbackNo fields configured for In-Game Bug.
Projects
Status
Todo
When playing HTML5 games on a smartphone (Android+Chrome) there is a huge delay (feels like a whole second) before a touch button gets triggered.
In addition there is a stutter / fps drop that brings down the fps below 30 when trying to mash a button (which will not get triggered when only pressed for a short time).
This makes HTML5 games on mobile devices completely unplayable.
Interestingly it's only the case for the first simultaneous touch. If you press two buttons at the same time or press and hold anywhere on the touchscreen (doesn't need to be a button), all other presses trigger immediately.
Attached test project can be played here: https://trunxgit.github.io/HTML5_Touch_Delay/
Test project here: https://github.com/TrunXGIT/HTML5_Touch_Delay/blob/main/HTML5_Touch_Delay_Stutter.yyz
Or here: https://api.gamemaker.io/api/github/downloads/ceb13d7e-d099-4c3a-bf63-646cb30f3e94
Using: Latest Beta 2024.1400.0.822