I need help. I want to make a secret code project, where you have to figure out what the code is. BUT I don't want the codes: wait until key ** pressed. If so anyone can just type each key on the keyboard and they will have it. Anny Ideas?
Offline
HamsterMan2000 wrote:
I need help. I want to make a secret code project, where you have to figure out what the code is. BUT I don't want the codes: wait until key ** pressed. If so anyone can just type each key on the keyboard and they will have it. Anny Ideas?
Well, if you create a variable for each letter you could say . . .
<when green flag clicked>
<forever>
<if><key[ ]pressed?>
<set{ letter1 }to(1
<end>
<else>
<set{ letter1 }to(0
<end>
Then all you would have to do is say forever if letter1, letter 2, letter3, etc. = 1 than say "You figured out the code!" Or something like that.
Last edited by shadow_7283 (2008-12-20 11:28:21)
Offline
I'm not sure what kind of code you mean. If you see my projects Double Team or Computer Spy, maybe you could use the scripts. Computer Spy has a complex password system so I had to use the<wait until> block, maybe you could modify it and use the script.
Offline