Computer Science Canada ISP help - with my intro screen please!!! |
Author: | 13ennett [ Fri Dec 15, 2006 10:52 am ] | ||
Post subject: | ISP help - with my intro screen please!!! | ||
Hey evrybody ![]()
allhelp would be appreciated...and yesi do realise i am a total n00b ![]() |
Author: | Tony [ Fri Dec 15, 2006 11:48 am ] |
Post subject: | |
you need to have that Input.KeyDown() inside the loop, else you never check for the updated keyboard status ![]() |
Author: | uberwalla [ Fri Dec 15, 2006 5:24 pm ] |
Post subject: | |
yes as he said use input.keydown IN the loop. but as you have it, it only works for the enter key. to use it for any key simply just use the getch command. basically all you have to do is declare a variable in your program like this: var ch :string (1) then you simply call getch: getch (ch) which all it does is wait til you press any key to continue on with your prog. |
Author: | iamcow [ Sat Dec 16, 2006 3:35 pm ] |
Post subject: | |
...or you can just use Input.Pause. This pauses the program until a button is pressed |
Author: | uberwalla [ Sat Dec 16, 2006 6:40 pm ] |
Post subject: | |
aha true. i never thought of that one ![]() ![]() |
Author: | 13ennett [ Sun Dec 17, 2006 8:11 pm ] |
Post subject: | |
sweet thanks for all the help ![]() |