I'm working on a quiz show game that uses buzzers. I'm trying to set my game up so when I press "s" an image and sound appears that indicates player 1 has buzzed in and when a player hits letter "k" a different image and sound appears for player two.
This part is no problem. I just had the system spawn the image on keypress.
What I am having trouble with is making it so that when player 1 hits "s" player two is locked out from hitting "k"
I currently have it setup where an instance variable is set for each buzzer and defaults to true. After an opposing buzzer is pressed I have it set the value to false.
When I do this and add another condition that checks the instance variable both buzzers stop working?
I oploaded the capx at the link below if anyone can help!