|
-
Multiple key down problems
Hey guys, sorry my first post is a request for help!
I'm quite new to flash but I have a quick question, I've set up the basis for a regular ship from above game, forward backward and rotation ect. You can go forward and turn left by pushing the up and left key as:
Code:
if(Key.isDown(Key.LEFT) && Key.isDown(Key.UP) ){
.........
}
Now I have added an aditional layer to deal with firing an object, this works fine under most circumstances, however if I have the fire trigger as SPACE, then it will not fire when both UP + LEFT or DOWN + RIGHT are pushed. If I change the fire trigger to SHIFT, for example, then with the left SHIFT button pressed it works fine in all combinations, however with the right button pushed, it only will not work with the UP+LEFT combination. I would search myself for a solution but I am not too sure what this problem is due to differnt buttons having differnt results?
Many thanks, great forum 
Gaz
-
Musical chair
Hello 
Unfortunately, that is not a problem associated with Flash at all. It is a problem shared among all Windows users; the only real way to fix it is to find a different set of buttons.
I have absolutely no clue why Microsoft can't just fix it...after all, Macs are way past that.
Anyways, with a lot of Windows computers, maybe not yours, pressing buttons like space + up + left will make a beep come from your computer, even if you don't have speakers or headphones, to signify that it can't handle that combination.
Hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|