User Tag List

Results 1 to 9 of 9

Thread: mouse toggle logic

  1. #1
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    mouse toggle logic

    I wonder what is wrong with my logic here. I thought to make the mouse pointer available to the player to activate a menu.


    start = hide
    not displayed + C = show
    displayed + C = hide


  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse toggle logic

    I made this post a while back because I saw into the future and saw your post
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=176557
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse toggle logic

    thanks LB. I have d'loaded the various examples and will study later.

  4. #4
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse toggle logic

    I have tested the examples with the mouse pointer.

    Using LB's toggle.mfa --

    Here is my setup using this. Unfortunately it doesn't work.
    I also tried it using alt val A of an object. Doesn't work.
    My suspicion (newbie that I am) is that negation of 'mouse visible' is not a reliable status indicator.

    I tested this using a single line: '(negate) Mouse cursor is displayed' = create object
    Blow me down if it didn't create the object on level start - with no key pressing!
    I set a 'start of frame' = show pointer and the object was still created; as if the mouse was not there. Huh?

    Using the 'Group Method' was easiest

    It works but requires the 'start of frame' conditions.

    _________________
    The 'Alterable Value Method' stumped me with: <0-Display Object( "Toggle Grey" )>
    I couldn't see how 'Display Object' was added to the 'alterable value/set/choose value' list.
    Educate me oh MMF whizzes.

    Ditto the 'Fastloop Method'

    So, I have a working solution with the group method.
    Thank you all.

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse toggle logic

    A group can be disabled at start without start of frame conditions. Right click the group and choose properties, and then choose "Disabled at start".

    Also, I remade the code in your screenshot and it worked perfectly. Not sure why it isn't working for you :\
    Working as fast as I can on Fusion 3

  6. #6
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse toggle logic

    Yes, I forgot about the group 'internal' options.

    Do you still have your remake of my screenshot? Could you post it here? It would be ideal if it could use an alterable value of an (existing) object. I constantly threaten to be more organised with my objects but - sometimes the clutter is happier with one less counter.

    Not sure how to link to a file on this forum....
    here is the link to my screenshoted file
    www.buddhamind.info/mmf/arfa_LB-Toggle.mfa
    seems to work in the preview

  7. #7
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse toggle logic

    The problem is that "Upon pressing any key" is an immediate condition and triggers the exact moment any key is pressed, regardless of where MMF2 was reading events. It has its own order of events and is not considered in the same event list as the rest of the events. If you change it to something else that is not immediate it should work fine
    Working as fast as I can on Fusion 3

  8. #8
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse toggle logic

    I did change it and it didn't be fine.

    I have a working solution, which is good, but it would gooder to get a better understanding of this.

    I may have been a bit misleading with "seems to work in the preview." I was referring to my link - not the mfa file, which doesn't work.

  9. #9
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: mouse toggle logic

    It didn't work when you changed it? Odd, I just changed both the conditions to be activated by the T key without change anything else, and it works fine:
    Working as fast as I can on Fusion 3

Similar Threads

  1. iOS Toggle Switch
    By JosephFTaylor in forum iOS Specific Example Files
    Replies: 3
    Last Post: 5th April 2013, 07:32 PM
  2. What is the Logic Behind This? (negate object overlapping "logic")
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th January 2012, 11:54 PM
  3. CORRECT way to Toggle!
    By LB in forum File Archive
    Replies: 11
    Last Post: 16th July 2010, 12:28 AM
  4. [Request] Toggle mouse dragging mode in editors
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 16th March 2010, 06:52 PM
  5. Toggle Movement
    By Keli in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st January 2008, 08:27 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
  •