
-----------------------------------
Evilferret
Wed Jun 18, 2003 3:46 pm

Problem creating 2 player program
-----------------------------------
Hey,

My name's Matt Bryan, I'm kinda new to turing.  Used to use a program called "Metal" (for macintosh) to do my programming.

Uhm, the problem is, I'm attempting to create a 2 player game.  The problem is if 2 players are holding down keys at once, the "getch" command will only accept one of the inputs.  

In metal I used to use a "if keymap key (key) then...." command.  Is there some sort of keymap command, or other command which will allow 2 users to input data from the ketboard simultaniously?

Thanks,
Matt Bryan

-----------------------------------
JayLo
Wed Jun 18, 2003 3:58 pm


-----------------------------------
try using 'Input.KeyDown'
Turing 4 only!

var chars : array chars of boolean
loop
Input.KeyDown (chars)
if chars('d') then
put "haha. the 'd' key!"
end if
end loop

-----------------------------------
Andy
Wed Jun 18, 2003 6:13 pm


-----------------------------------
why would u post this in the TURING help section? what does TURING mean to u?

-----------------------------------
PaddyLong
Wed Jun 18, 2003 6:15 pm


-----------------------------------
umm maybe you should read entire posts and stop flaming dodge_tomahawk because he is asking about turing

-----------------------------------
Andy
Wed Jun 18, 2003 6:17 pm


-----------------------------------
dammit, i need more sleep, sory kiddo *falls asleep*

-----------------------------------
JayLo
Wed Jun 18, 2003 6:23 pm


-----------------------------------
too many games, too little time...
blargh...
