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

Username:   Password: 
 RegisterRegister   
 KEYs down
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MihaiG




PostPosted: Wed Dec 22, 2004 5:40 pm   Post subject: KEYs down

im having trouble for letter keys movement like (w,a,d,) can some1 help me?
Sponsor
Sponsor
Sponsor
sponsor
Drakain Zeil




PostPosted: Wed Dec 22, 2004 6:31 pm   Post subject: (No subject)

What exactly are you doing, and what are you trying to do? (Answer those in reverse order of my questions).
MihaiG




PostPosted: Wed Dec 22, 2004 7:19 pm   Post subject: (No subject)

a basket ball type game... and i need controls for player 1 (w,a,d) i got them for palyer two(arrow keys up,left,right)
Cervantes




PostPosted: Wed Dec 22, 2004 7:33 pm   Post subject: (No subject)

Input.KeyDown
Neo




PostPosted: Wed Dec 22, 2004 9:01 pm   Post subject: Re: KEYs down

ELCOMANDANTE wrote:
im having trouble for letter keys movement like (w,a,d,) can some1 help me?


code:

var keys : array char of boolean
loop
Input.KeyDown (keys)
if keys ('w') then
put "hello"
end if
end loop
MihaiG




PostPosted: Thu Dec 23, 2004 11:15 am   Post subject: (No subject)

thnx guys i got it................... Razz thnx to a bit of tony's help
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  [ 6 Posts ]
Jump to:   


Style:  
Search: