User Tag List

Results 1 to 3 of 3

Thread: Catching a button click

  1. #1
    No Products Registered

    Join Date
    Feb 2007
    Location
    USA
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Catching a button click

    Im having a bit of trouble with this -
    start of frame : counteer = zero

    if button is clicked
    + counter is zero
    set counter to 1

    if button is clicked
    +counter is 1
    set counter to 2

    Starting frame with counter=zero and clicking on button immediately sets counter to 2, which is NOT what I want.

    I understand that it zips thru setting the counter to 1 and then loops again and sets the counter to 2 on the initial button press, but dont want that to happen and dont know how to get around this.

    Ive tried LImiting Conditions without success. I would appreciate advice/example.

  2. #2
    Clicker Fusion 2.5 MaciOS 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)
    Shadoku's Avatar
    Join Date
    Jul 2006
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Catching a button click

    Reorder your events like this

    if button is clicked
    +counter is 1
    set counter to 2

    if button is clicked
    + counter is zero
    set counter to 1

  3. #3
    No Products Registered

    Join Date
    Feb 2007
    Location
    USA
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Catching a button click

    Very nice, Shadoku. Much appreciated.

Similar Threads

  1. Rotation issue: Click button, rotate object X degrees, stop (without holding key)
    By Babalucci in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th April 2016, 03:10 AM
  2. Launching a Projectile: Button Press works, Mouse Click does not
    By tgftw in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th December 2013, 09:06 AM
  3. Catching up
    By Francois in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 1st August 2012, 08:47 AM
  4. How to compare 2 values on button click?
    By rudy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th May 2011, 12:44 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
  •