magic
03-07-2006, 01:44 PM
After about 10 years of no programming I tried lots of different software to decide what language I should use. I settled on Pascal - easier to learn than C++ and programs can be knocked up in a relativly short time.
I have one problem. To get me back into developing I decieded to write a little tetris game using the keyboard. Now I can setup the screen put my graphics on there and control the game as you would any other - the only problem I am having is that i cannot use the keyboard unless I have focus on the console window.
I am only using graph, crt and keyboard. There should be nothing strange about this. Does anyone know how I can use the keyboard while the focus is on my game screen?
Thanks in advance.
________
LilyH (http://www.girlcamfriend.com/cam/LilyH/)
I have one problem. To get me back into developing I decieded to write a little tetris game using the keyboard. Now I can setup the screen put my graphics on there and control the game as you would any other - the only problem I am having is that i cannot use the keyboard unless I have focus on the console window.
I am only using graph, crt and keyboard. There should be nothing strange about this. Does anyone know how I can use the keyboard while the focus is on my game screen?
Thanks in advance.
________
LilyH (http://www.girlcamfriend.com/cam/LilyH/)