Disable multitouch
3absh
Member Posts: 601
I only need 1 touch at a time.
How can I disable multitouch as it will cause problems when it's enabled.
Comments
You could try
When game.Touches.Count = 1
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
is there any other way?
because this method requires I add this condition to all my actors
Not that I know of.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
In what way will multitouch cause problems?
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
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
Hi @ abuabed84 I think you can solve this with a little logic, to prevent a second menu is opened if one is already open.
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.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
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 ?