Android Problem with mouse click on Android

Discussion in 'Programming' started by lamatoast, Jan 13, 2020 at 10:18 AM.

  1. lamatoast

    lamatoast Member

    Aug 12, 2017
    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?
  2. Flaick

    Flaick Member

    Feb 3, 2019
    Do you use device_mouse_check_button() or mouse_check_button?
  3. kupo15

    kupo15 Member

    Jun 20, 2016
    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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice