Problem with engine pressing two button at the same time?

PS_VITA

Active member
Hi guys,

I'm learning of a double dragon reloaded game created by magggas and whenever I try to press two buttons at the same time it's very hit and miss, at first I thought I had one of those cheap keyboards that run two or more keys on the same circuit bord, but this is not the case since I tested pressing the same  two keys on a different game and it worked okay.

I know it's not the game either because when using the ds4 the two button presses work okay (punch and kick)

What could the problem be?
 
Without seeing the script or command, there is no way to know for certain. First thing, you have to understand that in any single thread application, only one event occurs at a time. There is simply no way you can ever have two key presses being detected at the same time. It can't be done, full stop.

There are several ways programmers get around this. The way it works in OpenBOR is when one key press is detected but a simultaneous press is required, we just check the existing status of the other key (in other words, if it is already "on" when the first key is detected). You can do the same thing in an OpenBOR script. But if this code is not written carefully, it can cause the simultaneous press detection to be very unreliable. What's actually happening is that a specific one of the two or more keys must be the first one pressed.

But again, WAY too many moving parts in your question. I'd need to see the animation, or script, or whatever in that module.

DC

 
Damon Caskey said:
Without seeing the script or command, there is no way to know for certain. First thing, you have to understand that in any single thread application, only one event occurs at a time. There is simply no way you can ever have two key presses being detected at the same time. It can't be done, full stop.

There are several ways programmers get around this. The way it works in OpenBOR is when one key press is detected but a simultaneous press is required, we just check the existing status of the other key (in other words, if it is already "on" when the first key is detected). You can do the same thing in an OpenBOR script. But if this code is not written carefully, it can cause the simultaneous press detection to be very unreliable. What's actually happening is that a specific one of the two or more keys must be the first one pressed.

But again, WAY too many moving parts in your question. I'd need to see the animation, or script, or whatever in that module.

DC


Thanks for the explanation,

I'm just hoping someone who has tried DDR could confirm the issue.

I will do some more testing on my part as well.
 
Back
Top Bottom