Quick question about keyboard events

This forum is currently in read-only mode.
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • I can't get the keyboard event to work when certain parameters are met.

    eg.

    I have a timer that is set to 10 seconds. Then when the timer hits 10 seconds I have a keyboard sub event that lets you press Z however I can't get this to work.

    This is the setup

    + - On Timer "timer1"

    - On key Z released - Goto layout 1 <This is the sub-event of the timer

    Shouldn't that setup check if the timer has been met and then if the "Z" key has been pressed?

    Is this possible or is it just me missing something blindingly obvious?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The timer event will only run for one frame when it goes off, so you'd have to release Z at the exact moment the timer went off for this to work properly.

  • The timer event will only run for one frame when it goes off, so you'd have to release Z at the exact moment the timer went off for this to work properly.

    Ah ok thanks. Should be easy to work around this.

    Thank you.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)