Posted: Fri Sep 05, 2008 3:22 pm Post subject: "Press Any Key" Flashing Box
So yeah, trying to make a sequence that halts everything until you hit a key. Now, this works fine except for that hideous flashing box.
How can I get rid of said box? I've tried Input.Pause and getch but it still remains : /
Sponsor Sponsor
cavetroll
Posted: Fri Sep 05, 2008 3:25 pm Post subject: Re: "Press Any Key" Flashing Box
code:
setscreen("nocursor")
If that doesn't work, its something along those lines.
Warchamp7
Posted: Fri Sep 05, 2008 3:27 pm Post subject: Re: "Press Any Key" Flashing Box
cavetroll @ Fri Sep 05, 2008 3:25 pm wrote:
code:
setscreen("nocursor")
If that doesn't work, its something along those lines.
I'm laughing at myself right now. Totally forgot about nocursor, thank you.
Clayton
Posted: Fri Sep 05, 2008 5:27 pm Post subject: RE:"Press Any Key" Flashing Box
It would be much preferred for you to use View.Set() over setcreen(). If you have a question as to why, check out my tutorial on View.Set() in the Turing Walkthrough.
Warchamp7
Posted: Fri Sep 05, 2008 8:48 pm Post subject: Re: RE:"Press Any Key" Flashing Box
Clayton @ Fri Sep 05, 2008 5:27 pm wrote:
It would be much preferred for you to use View.Set() over setcreen(). If you have a question as to why, check out my tutorial on View.Set() in the Turing Walkthrough.
I use View.Set I just forgot the parameter
SNIPERDUDE
Posted: Fri Sep 05, 2008 9:17 pm Post subject: RE:"Press Any Key" Flashing Box
haha, I can't find the "any key".
Sorry...
for keyboard input you could just use
Turing:
Input.Flush% Erases any previous information on pressed keys loop % anything else here exitwhenhasch% checks to see if any key is pressed endloop