User Tag List

Results 1 to 3 of 3

Thread: How to limit input speed

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    BiznessMan's Avatar
    Join Date
    Apr 2007
    Location
    Sandy UT
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to limit input speed

    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

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,112
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    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.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    BiznessMan's Avatar
    Join Date
    Apr 2007
    Location
    Sandy UT
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks much. That is similar to what I was doing with counters but the Alterable value makes it much cleaner. Thanks!

Similar Threads

  1. Keyboard input vs player control input
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd August 2013, 09:00 PM
  2. Limit EditBox input
    By Bruto in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 18th May 2013, 05:24 PM
  3. INI Limit?
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 29
    Last Post: 20th November 2012, 03:39 PM
  4. Set speed to speed -1 no longer works?
    By 00J in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th November 2007, 06:13 PM
  5. Hardcoded Speed Limit of 100???
    By Michael_Gummelt in forum Multimedia Fusion 2 - Technical Support
    Replies: 53
    Last Post: 30th July 2006, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •