User Tag List

Results 1 to 6 of 6

Thread: Piano Key while L Mouse Button is Down

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Piano Key while L Mouse Button is Down

    Cheers everyone. I am trying to make a musical keyboard that changes the color of the key while the mouse button is down and over the current key. If I move the mouse out of the area OR let go of the mouse button I want the key to return to its original color. Any ideas?

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Click new condition in your event editor and right click on the keyboard/mouse icon. Bring up the mouse menu and you'll find all the conditions you described.

    You'll probably want to make a new animation for your changed color on the key you want to change and swap back and forth between the two using these conditions.

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried but was not able to find a solution to keep the new animation displayed until I let go of the mouse button. I did however find success using the "Key Object" extension. Thank you for your response.

  4. #4
    Clicker Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is an attachment of the solution I came up with. Was wondering if there was a way to do it with the regular mouse and keyboard extension.
    Attached files Attached files

  5. #5
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mouse pointer is over "Key"
    + Repeat while left mouse button is clicked:
    -> Change animation to "Key Pressed"

    NEGATE Mouse pointer is over "Key"
    OR (filtered)
    NEGATE Repeat while left mouse button is clicked:
    -> Change animation to "Key Depressed"

    (Right-click on your condition to negate)

  6. #6
    Clicker Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Worked like a charm! I'm new to programming and I did not realize that negating was the same thing as saying "NOT". Many thanks to you!

Similar Threads

  1. Olivias's Piano - Released for OUYA :D
    By Sparckman in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 16th September 2013, 11:44 PM
  2. Mouse: On button release
    By the_raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th April 2011, 10:12 PM
  3. That middle mouse button
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 9th August 2010, 11:55 PM
  4. Middle mouse button
    By Fanotherpg in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 8th March 2010, 09:47 AM
  5. another way to simulate mouse button up?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th October 2008, 03:50 AM

Posting Permissions

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