Android Problem with mouse click on Android

lamatoast

Member
Hi guys, i have made a game that plays on Android phones. I use the mouse button left pressed event to control the player but sometimes it becomes unresponsive so i changed to the the tap gesture this works but i have to tap quickly i can't tap and hold for the smallest of time or it is unresponsive. is there a better way to do android controls?
 

kupo15

Member
I think it becomes unresponsive because on android if you tap quickly, the second tap registers as a right click. Simply call the code dbl_click_enable (something like this) and set it to false and continue using your normal mouse event
 
Top