Computer Science Canada Pong. |
Author: | Shadowsithe [ Wed Nov 17, 2004 2:20 pm ] |
Post subject: | Pong. |
I'm making pong, but I don't want to hit the enter key to move the paddle. The rest of the horribe flaws I'll worry about later. |
Author: | Kuntzy [ Wed Nov 17, 2004 3:07 pm ] | ||
Post subject: | |||
thats right out of Turing help documents |
Author: | bass_maniac [ Wed Nov 17, 2004 4:01 pm ] |
Post subject: | |
Quote: Code:
var chars : array char of boolean Input.KeyDown (chars) if chars ('t') then put "The T key is pressed" end if thats right out of Turing help documents And if you look under 'Keyboard' in the help file you can replace ('t') with KEY_LEFT_ARROW or something. |
Author: | Shadowsithe [ Fri Nov 19, 2004 2:34 pm ] |
Post subject: | |
Ok, so I fixed that but every so often ... or almost always the ball goes through the paddle. This makes me sad. |