How to check for simultaneous keypresses?
Author |
Message |
sarm2005
|
Posted: Sun Mar 09, 2008 6:27 pm Post subject: How to check for simultaneous keypresses? |
|
|
Such as when someone presses the up and right arrows at the same time. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
richcash
|
Posted: Sun Mar 09, 2008 6:48 pm Post subject: RE:How to check for simultaneous keypresses? |
|
|
Look up Input.KeyDown |
|
|
|
|
|
Sean
|
Posted: Sun Mar 09, 2008 8:54 pm Post subject: Re: How to check for simultaneous keypresses? |
|
|
Input.KeyDown, like mentioned above is what you need.
You'll need to code it with an if statement checking if the two buttons are pressed. Then it should display an appropriate message to tell you what buttons are being pressed. |
|
|
|
|
|
|
|