User Tag List

Results 1 to 5 of 5

Thread: Very interresting way to destroy object !

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module

    Join Date
    Mar 2013
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem in destruction of object !

    Hi every one, I need some explanations ^^

    I create 1 object Active1
    I create 2 events:
    - "when Space bar is pushed", then, Active1 is destroyed.
    - "when Space bar is pushed", then, create one Active2 next to Active1

    So, I was thinking that when I push my Space bar, all Active1 are destroyed, so, any Active2 will be created as any Active1 exist !!
    But nope, the result is that Active2 is well created, and Active1 is destroyed......

    Here a very simple application showing that fact..
    Application 1.mfa

    If you can help me, I will be so happy ^^

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    Objects are not actually destroyed till the end of the event cycle.

    So you might need to do what you want differently if this isn't working for your project.
    Perhaps set a flag then test that flag the next event cycle for example.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module

    Join Date
    Mar 2013
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mmh I see, I will do it like that for now but it's not convenient..
    Because in fact, when I say "destroy", I want it to be destroyed right now ^^
    Like when I say "A takes the value A+1", I don't want A to take it's new value in the end of the cycle !
    Do you think you will patch that or you will keep it ?

  4. #4
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    I think this will stay the same in version 2.5

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module

    Join Date
    Mar 2013
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay !

Similar Threads

  1. Replies: 2
    Last Post: 4th April 2015, 11:50 PM
  2. Help with Destroy Object
    By lucaoo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th September 2011, 03:49 AM
  3. Destroy Object..
    By MostDreaded in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 14th January 2011, 05:18 AM
  4. [Bug] Destroy object if too far from frame
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd May 2007, 07:04 AM
  5. trying to destroy a object when shoot twice
    By dylan99379 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th December 2006, 02:54 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
  •