User Tag List

Results 1 to 5 of 5

Thread: Selecting a single object out of many with the same qualifiers.

  1. #1
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)Mac Export Module (Steam)Firefly 3D Module (Steam)
    Acrobics's Avatar
    Join Date
    Oct 2019
    Location
    New Zealand
    Posts
    11
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Selecting a single object out of many with the same qualifiers.

    button lightup help.mfa

    In the above MFA, it is possible to light up all 4 of the left active objects in one quick mouse swipe. This is because they all use the same qualifier to detect when the mouse is over them, meaning if the mouse still happens to be over a different object with the same qualifier during the next frame, it still thinks the original object is being held down as well because the mouse never left either of the qualified objects and therefore lights up both of them.

    Is there a way to make sure that only the qualified object that has the mouse held over it is lit up? This is for a touch-screen interface, so the user knows that when the left mouse key is released what one they are going to select, as it could be confusing thinking they could be pressing down all four of those buttons that are lit up at once.

    Any attempts at help are appreciated and thank you in advance!!

  2. #2
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    535
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Fixed value.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)
    Linky's Avatar
    Join Date
    Mar 2020
    Location
    Egypt
    Posts
    258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry I don't think I understood it clearly, one of the correct ways for doing a quick swipe while still registering it will require some sort of a loop and inside this loop you move an object to the mouse in steps, and on this loop you check if the object collides with the said other objects (there is more into it, I can make an example if you want)

    But I think this is not what you want? if so the easiest way is to just put an always event BEFORE the event you check if the mouse is on top of these objects, like this:
    Button lightup fixed.png
    MFA: Button Lightup Fixed.mfa

  4. #4
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleFirefly 3D Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,436
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    I often store the fixed value of the hovered button, that allows me to know which one should be highlighted.

  5. #5
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)Mac Export Module (Steam)Firefly 3D Module (Steam)
    Acrobics's Avatar
    Join Date
    Oct 2019
    Location
    New Zealand
    Posts
    11
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thank you all very much! I've got it working now thanks to your help.

Similar Threads

  1. Replies: 5
    Last Post: 18th October 2017, 08:44 PM
  2. Selecting last created Object
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 30th June 2012, 07:34 AM
  3. selecting an object within a fastloop
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st January 2009, 03:32 PM
  4. Problems with Object selecting
    By TotallyTurton in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 5th February 2008, 11:25 AM
  5. selecting object
    By westray in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th July 2006, 02:23 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
  •