|
-
May 19th, 2000, 04:28 AM
#1
Thread Starter
New Member
I am making a tetris game for my VB class in school and I wanted to use the right and left arrow keys to move the pieces, the down arrow key to drop the piece faster and the up arrow key to rotate the piece. I have 200 command buttons on the form which I use the backcolor to animate the pieces (I know I'm a newbie still shush ) and I have the form's keypreview set to true but it's not responding to the arrow keys keypresses. I know I have the correct ascii codes because I opened a new project and made message boxes appear when you pressed the corresponding arrow keys. I need help getting the arrow keys to call the functions and or sub routines to move the pieces please, this project is due soon... thank you in advance.
[Edited by ToneDogg on 05-19-2000 at 05:30 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|