Pressing Two Buttons At Once
kanuvas
Member Posts: 21
Hi All,
I have an issue with buttons. I have 4 buttons in a quiz, and the quiz progression/new questions etc are controlled with pressing the incorrect or correct answer.
This works corrects when pressing only 1 correct/incorrect answer, and I progress through the quiz correctly.
However if my finger slips, or are too fat, I can press 2 answers at once.
So my question is, how can I stop 2 buttons being pressed at once?
Many thanks,
Rob
I have an issue with buttons. I have 4 buttons in a quiz, and the quiz progression/new questions etc are controlled with pressing the incorrect or correct answer.
This works corrects when pressing only 1 correct/incorrect answer, and I progress through the quiz correctly.
However if my finger slips, or are too fat, I can press 2 answers at once.
So my question is, how can I stop 2 buttons being pressed at once?
Many thanks,
Rob
Answers
Its like when you want to use two fingers zoom
What rule are you using for detect while press button?
Mouse button down and inside?
When [all] Touch is Pressed AND Mouse Position is Inside
Another way is to check the touches.count attribute and make sure it's 1.
I actually have set up a rather convoluted way, which is to concatenate the name of the button to a text string (with Otherwise text string ="") and check to see if the button name matches the text string.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
This will two one of two things, first if one is pressed first it will let that one work, two if both are pressed nothing will happen.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS