Nahuos wrote:LittleStain wrote:Nahuos wrote:BUMP:
So I think that I need to make it so that when A (Left) is pressed, D(Right) cannot be pressed? Anyone knows how to disable a key while another key is going on perhaps?
Something like this should work for that:
On A pressed
D is not down
> set direction to left
on D pressed
A is not down
> set direction to right
Did not work...haha I need to find a way for the computer to think of pressing A and D as they're next to each other, but it seems to process whichever is placed first.
You did see the difference between "on pressed" and "is down" in my example?
Should work just fine that way..
But if you keep having issues, please share your capx, for this should be pretty easy to get right..