Page 1 of 1

Problems with Turbo Pascal...

Posted: Sat Apr 09, 2005 11:35 am
by rwfromxenon
Hey. I've been having some problems in Pascal. I've made a very simple PONG-like game in graphics mode. Everything works perfectly, the collisions, keypresses, etc. The only thing I have a problem with is pushing two buttons at the same time.

The reason I need this is because I plan on having two players on the same keyboard, player one using "w" and "s" to move the left paddle and player two using "i" and "k" to move the right. I was thinking along the lines of checking for other keys while a key is still being pressed, but it hasn't worked for me yet.

Any thoughts?

Re:Problems with Turbo Pascal...

Posted: Mon Apr 11, 2005 1:53 am
by bubach
Maybe this helps, some diffrent ways of getting keyboard input:
http://board.flatassembler.net/topic.php?t=3324