User Tag List

Results 1 to 7 of 7

Thread: Instance destroyed

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Instance destroyed

    Code:
    Repeat when user click on left button
    + Mouse over "Active"
    Set "Active" Flag 0 ON
    
    X Repeat when user click on left button
    Set "Active" Flag 0 OFF
    
    is Flag 0 ON
    Set "Active" X o XMouse-15
    Set "Active" Y o YMouse-15
    
    User double-click with left button on "Active"
    Create "Active" at (320,240)
    With this code, when I overlap the created instances, the instance which is underneath is destroyed..
    Is it a bug or may I miss something ?
    Thx

  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)
    Setting the flags like that is pointless. It will still set the flags for all objects under the cursor, meaning that all those objects under the cursor get set to the same position and the top ones hide the bottom ones.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for clarifying this but how can I solve it so ?

  4. #4
    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)
    Code:
    Always
    -->Set Alterable Value A of Object to 0
    
    Repeat while mouse is over Object
    & Repeat while Left Mouse Button is pressed
    & Only One Action on Event Loop
    -->Spread Value 0 in Alterable Value A of Object
    -->Set Alterable Value A of Object to NObjects("Object")-Alterable Value A("Object)
    
    Repeat while mouse is over Object
    & Repeat while Left Mouse Button is pressed
    & Only One Action on Event Loop
    & Alterable Value A of Object = 1
    -->Do Code on Object
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks LB but it doesn't work at all. The object are not even following the mouse anymore...
    I followed your code, and just replace "Do code object" by Set X(object) to Xmouse-15 and the same thing for Y...

  6. #6
    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)
    Could you upload the changed MFA? The actives use the Drag 'n' Drop movement.
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LB
    I'm just totally stupid. I totally forgot the drag'n'drop behavior.
    That's just what I need, and it doesn't destroy other instances.
    Thx for your time.

Similar Threads

  1. Instance inherriting from Instance
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 10th June 2013, 06:25 AM
  2. My hard drive was destroyed!
    By Jimmy in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 10th August 2011, 11:28 PM
  3. Last Active has been destroyed
    By K1kk0z90 in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 13th June 2011, 04:29 PM
  4. How can a destroyed object be visible?
    By RayMarble in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th October 2008, 06:57 PM
  5. How far off the frame before destroyed?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th April 2008, 05:05 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
  •