• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

iOS Device_mouse_check_button delay on iOS

AZAMATIKA

Member
Hi. Did someone have a problem similar to mine?
I use virtual keys in my game, previously i used the virtual_key_add, but now i use multitouch with device_mouse_check_button.
The main problem is:
1. All works perfectly on Androids both with virtual_key_add and device_mouse_check_button
2. All works on iOS but only when i multitouch or hold the finger anywhere on screen. But when i use singletouch (start moving or attacking) there's a random delay (0.5 - 2 seconds).

How to fix that?
 

Tornado

Member
I have the same probem as you! I removed virtual keys and replaced them with device_mouse_* functions and suddenly I have that lag on iOS.

Setting
Code:
device_mouse_dbclick_enable(false);
solved the problem!!!
Thanks a lot @Nocturne !!!!!
 
Top