Ignore Input

0 favourites
  • 3 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • How would I set the game to ingore gamepad input?

    I have an action where I press a button which triggers an animation. I want to ignore input while the animation plays and then re-enable input when the animation has finished.

    Best,

    Mik

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You would have to set a variable (AllowedToMove) and state that when AllowedToMove = true

       Left Button is down >> Simulate Left

       Right Button is down >> Simulate Right

    and so on. And then tell that variable to be false when the movie is playing and true at the end of it.

    If Movie is playing >> AllowedToMove = false

    If Movie has stopped >> AllowedToMove = true

  • You would have to set a variable (AllowedToMove) and state that when AllowedToMove = true

       Left Button is down >> Simulate Left

       Right Button is down >> Simulate Right

    and so on. And then tell that variable to be false when the movie is playing and true at the end of it.

    If Movie is playing >> AllowedToMove = false

    If Movie has stopped >> AllowedToMove = true

    Thanks, I actually already solved it using a similar method. I just had a brain freeze :)

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