User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Double tap action

  1. #1
    No Products Registered

    Join Date
    Jan 2008
    Location
    Santiago, Chile
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Double tap action

    How can I make an action by quick double-tapping a direction or fire button?

  2. #2
    Clicker Fusion 2.5
    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)

    Join Date
    Oct 2006
    Location
    In a Dark room with only a lamp
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    I have seen this method used before wher a text box is used and the input is translated to text. for instance if user presses right add the letter r to text box. if text box = rr then perform action.

    Does this help?

  3. #3
    No Products Registered

    Join Date
    Jan 2008
    Location
    Santiago, Chile
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    Thanks! I'll try that.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    Personally i would create a counter. If you don't understand these events just write back.

    On pressing "Space" and counter = 0
    -Set counter to 10

    On pressing "Space" and counter > 50
    -Do double tap action

    Counter greater > 0
    -Subtract 1 from counter

  5. #5
    No Products Registered

    Join Date
    Jan 2008
    Location
    Santiago, Chile
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    I don't get it, Nick...

    If the counter is set on 10, how would the action activate when the counter is on 50?

    Please, explain this to me, because I can't get it to work.

    Thanks!

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    I think he means "Add 10 to counter".

  7. #7
    No Products Registered

    Join Date
    Jan 2008
    Location
    Santiago, Chile
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    Still doesn't work, I really don't get it...

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    I think he either meant 100 or 5 in place of the 10 or 50, but that is the method I use.

    Upon pressing a key, and counter is 0 - set counter to a number

    Upon pressing the same key, and the counter is above 0, then do the double tap action.

    Counter is above 0, subtract one from counter.

  9. #9
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    The MMF2 On user clicks evens aren't fast enough and don't fire on fast clicking. If you need something to trigger every click use:

    +Repeat while mouse key is pressed
    +Only one action when event loops
    -Insert actions here

    This is just a pointer for click events and it comes in handy.

  10. #10
    No Products Registered

    Join Date
    Jan 2008
    Location
    Santiago, Chile
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Double tap action

    Ok I finally got it!
    This is what I did:

    Upon pressing a key, and counter = 0
    -Set counter to 20

    Upon pressing a key, and counter < 15
    -Do double tap action

    Counter greater > 0
    -Subtract 1 from counter


    What do you think about this solution?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Double event
    By FlinkGigitty in forum File Archive
    Replies: 3
    Last Post: 20th August 2010, 10:58 PM
  2. Double-tap
    By Na in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th May 2010, 02:36 PM
  3. Double tap example for DSilvers
    By InsertNameHere in forum File Archive
    Replies: 0
    Last Post: 8th July 2008, 02:20 AM
  4. Double tap a key
    By Nick in forum File Archive
    Replies: 8
    Last Post: 31st May 2008, 12:33 PM
  5. Double Application!?
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 29th June 2007, 06:06 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
  •