Keyboard Input

0 favourites
  • 1 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • There should be an action "Retrieve last keyboard input"

    For example (of use): (key bindings etc)

    • On Keyboard.PressAnyKey:

    = Text1.Text = Keyboard.GetLastInput

    that event would simulate like:

    If I press J. then text1 will set to "J". Same goes for any key

    ____________________

    Also, could do with a keyboard special conditions, For example: (the special inputs would be "Shift", "Ctrl", and "Alt")

    • On Keyboard.SpecialInput

    + On Keyboard.PressAnyKey:

    = Text1.Text = Keyboard.GetLastSpecialInput & "+" & Keyboard.GetLastInput

    that event would simulate like:

    If I press Ctrl+J. then text 1 will set to "Ctrl+J".

    If I press Ctrl+Shift+J. then text 1 will set to "Ctrl+Shift+J" etc.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)