Everything having to do with programming, all languages (VB, C/C++, C#, HTML, JAVA, PHP, etc)
Moderator: 127.0.0.1
by sweet12 » Sun Jul 13, 2008 7:02 am
im trying to move a character around a screen. i cant seem to find the right code that will recognise the key being pressed down. my current code is something like;
if(this.KeyDown += Keys.w)
Character.position.Y = position.Y+1;
-
sweet12
- n00b

-
- Posts: 3
- Joined: Sun Jul 13, 2008 5:25 am
by sezman » Wed Jul 30, 2008 2:33 pm
Do you have the full code or could you post more of what your trying to do? Your question is very bland. I might be able to help, if not as one of the guys at programminghelp.com or visit some tutorials sites like asp.net msdn.net or dotnettutorials.com
-
sezman
- n00b

-
- Posts: 3
- Joined: Wed Jul 30, 2008 2:10 pm
Return to Programming
Who is online
Users browsing this forum: No registered users and 2 guests