Skip to main content

Search

How do I allow only one input in a set time?

  • Supposer

    Depends on the logic you already have... but something to try is to make the button press “pulse” (fire the first frame only). This will mean for any given button press it only fires once (like an “onbuttondown” event.

    To turn any signal (constant) into a pulse (once only), use a signal manipulator (found in logic and processing). Change its most to “pulse”. Now it will pulse whenever it receives a signal (such as a button being pressed).

    Don’t best yourself up too much. The logic side of things isn’t imperative (one thing happening after another). It’s more on a frame-by-frame basis. Everything powered on a given frame runs for that frame. So it can be difficult to get your head round at first. Keep tinkering and you’ll get it ?

  • Riandisa

    From my understanding the face button presses are already a pulse signal, but I did try using signal manipulators, both "pulse on input on" and custom pulse at on and pulse at off, but I'm still getting 0-1-0 result on counter.

    Currently for cleanliness and organization I'm running my logic through chips for each button, so if the randomizer picks X, only the logic checks for the X button is powered.

Please sign in to leave a comment.