blockly-threex icon indicating copy to clipboard operation
blockly-threex copied to clipboard

Key Mapping

Open randompast opened this issue 10 years ago • 2 comments

Add a way to map blocks to be fired to keystrokes. Then, add constraints to only allow a certain speed for movement etc.

randompast avatar Dec 15 '13 19:12 randompast

  • interesting, i had a keyboard mapping but unrelated to blocks
  • @randompast which blocks would be fired by which keys
    • how to present that to the user ?

jeromeetienne avatar Dec 16 '13 06:12 jeromeetienne

There could be a while loop the player makes which checks if a key is pressed and then does an action or series of actions.

It seems like it'd require new blocks for keymappings: is X key down/pressed/up?

This could be for two different play modes: multiplayer battle system... or, in the levels where you are given a certain number of key presses to solve a puzzle. Maybe you defined one of your keys to run in an octagon, or jump over a gap. This could allow a level to be done in stages and would make it a tad more interactive.

randompast avatar Dec 16 '13 08:12 randompast