User Tag List

Results 1 to 3 of 3

Thread: How To: Draw Lines Between Two Moving Active Objec

  1. #1
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How To: Draw Lines Between Two Moving Active Objec

    I need to draw a line between two active objects that will both be moving. Could someone give me some advice on how this might be accomplished. For example, which extension would be the best to use? Thanks in advance.
    Steve

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall 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)

    Join Date
    Jun 2006
    Posts
    395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: How To: Draw Lines Between Two Moving Active Objec

    You can use the Active Overlay Surface Object for this. http://www.fusionwiki.com/wiki/Surface_object

    I think the way it works is you select "Draw Line" in the event editor (so likely you'll use an Always if you want it to always update- else you can just trigger it once with a button) set the start point as X= XActive 1 Y= YActive 1 and the end point as X= XActive 2 Y= YActive 2, then set the colour of the line and the width.

    I'm a bit new to the surface object myself so I don't know the exact way to do it.

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall 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)

    Join Date
    Jun 2006
    Posts
    395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: How To: Draw Lines Between Two Moving Active Objec

    Ok the correct way to do it with surface:

    1. Create a Surface object from the Extentions List
    2. Create 2 Active Objects (Active, and Active1)
    3. Set their Hotspot to center on both
    4. Go to the Event Editor
    5. Create an "Always" event
    6. On the part of the grid under Surface left click to bring up the menu for that extention
    7. Select "With Color" option
    8. Select Draw Line
    9. X1 = X(Active) Y1 = Y(Active), X2 = X(Active1) Y2 = Y(Active1), RGB 255,0,0 (Red), Thickness = 1
    10. Create an event which makes one of the actives move, on that same event, make surface do a clear by selecting "With Colour" "Clear" and select the colour 0,0,0 (Transparent).
    11. (optional) if you want to stop the flicker when it clears copy the draw line event into the same cell and make it draw directly after the clear, this will then update as the object moves in real time with no delays.

    There you go that should then produce a red line between the two that updates when they move.

Similar Threads

  1. Moving lines in List Object
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 6th April 2012, 12:46 AM
  2. How to create new obj if an active is moving?
    By mega21 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 11th October 2011, 10:33 PM
  3. Active object moving up and down.
    By DW90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 3rd March 2010, 11:39 PM
  4. How to make events affect one or all active objec
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th February 2010, 01:01 PM
  5. Draw lines with an Active Object
    By Popcorn in forum File Archive
    Replies: 3
    Last Post: 27th November 2007, 09:11 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
  •