Disable multitouch

I only need 1 touch at a time.

How can I disable multitouch as it will cause problems when it's enabled.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    You could try

    When game.Touches.Count = 1

  • 3absh3absh Member Posts: 601

    is there any other way?
    because this method requires I add this condition to all my actors

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Not that I know of.

  • ArmellineArmelline Member, PRO Posts: 5,397

    In what way will multitouch cause problems?

  • 3absh3absh Member Posts: 601

    @Armelline said:
    In what way will multitouch cause problems?

    It's a menu RPG, so touching 2 buttons at the same time will cause 2 attributes to become true, hence 2 menus to open

  • CasualEvolutionCasualEvolution Member, PRO Posts: 543

    Hi @ abuabed84 I think you can solve this with a little logic, to prevent a second menu is opened if one is already open.

  • ArmellineArmelline Member, PRO Posts: 5,397

    Then @tatiang's got the right idea, and you're likely to have to add logic to all your actors whatever solution you go with.

  • mabajuegosmabajuegos Member Posts: 2

    Hi! I've tried " game.Touches.Count = 1 " and it works for me, but I need the counter to go back to 0 to work again after a few seconds. How can I do it?
    Thanks!!

  • bob loblawbob loblaw Member, PRO Posts: 793

    @mabajuegos said:
    Hi! I've tried " game.Touches.Count = 1 " and it works for me, but I need the counter to go back to 0 to work again after a few seconds. How can I do it?
    Thanks!!

    use a timer that says after x seconds, change counter to 0 ?

Sign In or Register to comment.