Report this content
We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.
Note that misuse of the reporting tool will not be tolerated.Item being reported:
I have a timer running and a randomized prompt about what button to press. On a correct press, a counter goes up. A wrong press makes the counter go down.
My trouble comes up when I try to find a way to disable button mashing the correct button for extra points. If I set a correct (or incorrect) button press to reset the timer, the timing appears to overlap with the new current button press, resulting in the total screen flickering from 0 to 1 then back to 0.
Ideal situation: Button prompt appears > Press correct button > Score goes up 1 > Timer and prompt reset before anything can be pressed excessively
OR
Button prompt appears > Press incorrect button > Score goes down 1 > Timer and prompt reset before anything can be pressed excessively
OR
Button prompt appears > Nothing is pressed > Timer runs out > Score goes down 1
I keep thinking in conditional type terms (if/then/else etc) which does me no good here, so I need a lot of help. I've failed at every goal I've wanted to make so far. I'm feeling rather discouraged and disappointed in myself.
Thank you very much for your help.