Posted 07 October 2015 - 11:26 AM
Hello, I am making a simple minigame that involves the user pressing a certain key within one second.
Unfortunatly, I can't make it work after starting over a few times.
With my current code, you start up the "main" program, and it picks a random program, for example "a", and in the "a" program I want a code that if you press the "a" key within a second, it redirects you to the "correct" program, if you do not, it redirects you to the "failed" program. I already have the "correct" and "failed" programs set up to link to the "main" program.
Can someone help me with the code?
Thanks!
Unfortunatly, I can't make it work after starting over a few times.
With my current code, you start up the "main" program, and it picks a random program, for example "a", and in the "a" program I want a code that if you press the "a" key within a second, it redirects you to the "correct" program, if you do not, it redirects you to the "failed" program. I already have the "correct" and "failed" programs set up to link to the "main" program.
Can someone help me with the code?
Thanks!