Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Arrow key help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
pj_ladd12




PostPosted: Mon Aug 21, 2006 9:06 pm   Post subject: Arrow key help

Hello everyone, i know how to use input keydown very well but i am having trouble.

I have four lines, and my box or whatever you wanan call it is one the first line. I want to make it so when you hit the left and right arrow key, it will go to the next line, back and fourth.

| | | |
| | | |
| | | |
| | | |
| | | |


so those are the four luines, and i want to control the ball left and right


any ideas? thank u
Sponsor
Sponsor
Sponsor
sponsor
richcash




PostPosted: Mon Aug 21, 2006 9:59 pm   Post subject: (No subject)

Umm, could you be more specific with what the moving of the ball off the lines?

Just in case you need to know :

For the Right Arrow Key :
(chr (205)) or
(KEY_RIGHT_ARROW)

For the Left Arrow Key :
(chr (203)) or
(KEY_LEFT_ARROW)
Clayton




PostPosted: Tue Aug 22, 2006 1:56 pm   Post subject: (No subject)

could you plz post some code so we can tell what youve attempted so far? that way we can better understand whats (supposed to be) going on, and so we know that we arent doing this for you
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: