-1

How to enable multiple key press detection in adobe flash professional cs6. (basically making a multi-player game)

Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81
Shagun Sodhani
  • 3,535
  • 4
  • 30
  • 41

2 Answers2

1

Try to use gamepad or other outer-joystick to second player, and read a littlemore on tech forums example leferonato.com/ or here in the forums you can found some answare. If its under maintrance use the common phrase... "g00gl is your friend..." but the direct actionscript answare here and here and here and here.

huncyrus
  • 648
  • 8
  • 18
1

It isn't something you "enable". You simply code it.

if(Key.isDown(65)) //"a"
    ;//move 1st player left
if(Key.isDown(Key.LEFT)) //left arrow
    ;//move 2nd player left

But you should note that keyboards are horrible at handling multiple key presses at the same time. You will notice that many 3 key combinations don't work at all or register the wrong keys.

Austin Henley
  • 4,625
  • 13
  • 45
  • 80