How to limit input speed

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Trying to change a counter by pressing left or right on the keyboard but when I press right, it adds two to the counter instead of one. Whats the best practice from limited an event to run right away. I was doing it with a bunch of counters before but I'm curious if there is an easier way

  • I use an alterable value in whatever object is relevant.

    Event 1
    Condition:
    User is Pressing RIGHT -
    + Alterable Value A = 0

    Action
    - add 1 to counter
    - set alterable value A to 10

    Event 2
    Condition:
    Alterable Value A > 0

    Action
    - Subtract 1 from alterable Value A

    Now the user can hold right and it will only add 1 to the counter every 10 frames. You can increase or decrease the value (10) to speed up or slow down the input.

    Check out my Game on Itch.io
    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!