User Tag List

Results 1 to 6 of 6

Thread: Can someone explain this? (Inbuilt detection)

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,188
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question Can someone explain this? (Inbuilt detection)

    Could someone explain the logic behind this? I am trying to make some buttons that have an inbuilt "collision detection" that is smaller then the regular object. I have attached an example.
    I would like to be able to use the regular "mouse over" condition, but that does not seem to work. The alternative is to use an invisible active always at the position of the mouse, but while that works, i dont understand the logic behind the condition order that needs to be in order for it to work? In the example there are 3 different condition that to my mind should all work, but just one of them is working. You can deactivate/activate one of the lines to test out. Why is only the last one working, but the same event with the reverse object order is not? And is there any way to make this work with mouse over without having to use an invisible active?
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5Android Export ModuleHTML5 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)
    jaytmek's Avatar
    Join Date
    Mar 2014
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The mouse over condition changes the counter to 1 when I deactivate the other two lines and delete the active object. Isn't that what you want to happen?

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,188
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    It should only display 1 when close to the center where the actual collision point is. Open the object and look at the direction up. That is the point of the example, to have an inbuilt smaller detection area.

  4. #4
    Clicker Fusion 2.5Android Export ModuleHTML5 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)
    jaytmek's Avatar
    Join Date
    Mar 2014
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, I see what you mean now! Fairly new to Fusion so probably can't help, but I don't understand the relevance of the up animation. I see its a smaller box, but you have two Always events, one at the beginning to set it to direction up, and one at the end to set it to direction right. Surely its just going to act on the last Always event for that object, so the smaller animation box is never considered in the events or collisions?

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,188
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Jaytek: You can read more about inbuilt collision detection here: http://www.diybandits.com.au/MMF/tut...embedded1.html

  6. #6
    Clicker Fusion 2.5Android Export ModuleHTML5 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)
    jaytmek's Avatar
    Join Date
    Mar 2014
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WOAH! Mind blown! I had no idea about this! Thanks for the info, this is definitely going to be useful.

Similar Threads

  1. Do inbuilt foreach not work in flash?
    By Outcast in forum Flash Export Module 2.5
    Replies: 10
    Last Post: 1st February 2014, 05:34 PM
  2. Can someone please explain this
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 12th September 2013, 07:19 PM
  3. Could somebody explain this...?
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd September 2009, 03:56 PM
  4. Please Explain [High Score]
    By Rich in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th August 2008, 01:19 PM
  5. Platform Movement with inbuilt detector
    By Bernie in forum File Archive
    Replies: 9
    Last Post: 23rd July 2006, 02: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
  •