| View previous topic :: View next topic |
| Author |
Message |
aserto
Joined: 17 Apr 2006 Posts: 22
|
Posted: Mon May 22, 2006 11:28 pm Post subject: Controls help |
|
|
| I have to check if 2 buttons are pressed at the same time. Do you know how to do this? |
|
| Back to top |
|
 |
daurnimator

Joined: 11 Dec 2005 Posts: 38 Location: melbourne, australia
|
Posted: Mon May 22, 2006 11:33 pm Post subject: Re: Controls help |
|
|
| aserto wrote: | | I have to check if 2 buttons are pressed at the same time. Do you know how to do this? |
.. its not hard... guess
otherwise, go look at other src code.
btw, you might want to do an if function like:
if controls:l() and controls:r() then end |
|
| Back to top |
|
 |
aserto
Joined: 17 Apr 2006 Posts: 22
|
Posted: Mon May 22, 2006 11:35 pm Post subject: |
|
|
| i tried but doesn't work... |
|
| Back to top |
|
 |
KawaGeo
Joined: 27 Aug 2005 Posts: 191 Location: Calif Mountains
|
Posted: Tue May 23, 2006 5:31 am Post subject: |
|
|
Some users might press either button first. Check each button if it is pressed or not. If so, check the other button as well.
I am sure somebody already did the coding somewhere. You might look up those codes. _________________ Geo Massar
Retired Engineer |
|
| Back to top |
|
 |
|