Computer Science Canada

KEYs down

Author:  MihaiG [ 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?

Author:  Drakain Zeil [ Wed Dec 22, 2004 6:31 pm ]
Post subject: 

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

Author:  MihaiG [ Wed Dec 22, 2004 7:19 pm ]
Post 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)

Author:  Cervantes [ Wed Dec 22, 2004 7:33 pm ]
Post subject: 

Input.KeyDown

Author:  Neo [ 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

Author:  MihaiG [ Thu Dec 23, 2004 11:15 am ]
Post subject: 

thnx guys i got it................... Razz thnx to a bit of tony's help


: