User Tag List

Results 1 to 3 of 3

Thread: I can reposition an active object, but not destroy it?

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I can reposition an active object, but not destroy it?

    Is this a glitch, or have I done something stupid. I'm doing something where a rock explode and then be destroyed if an exploding bomb touches it. This has worked with every other instances within the game except for the rocks.

    Here's what my code looks like:

    +Collision between "Level 1 Explosion" and "Rocks"
    -Change animation to Disappearing

    +"Rocks" animation Disappearing is over
    -Destroy

    The problem is that the rock will not destroy; it'll just sit there on the last frame of the Disappearing animation, which is clearly finished. However, if I change the code to:

    +Collision between "Level 1 Explosion" and "Rocks"
    -Change animation to Disappearing

    +"Rocks" animation Disappearing is over
    -Set position (whatever)

    It works perfectly! I can easily just do this, as there's never enough rocks in the frame to cause lag issues and whatnot, but it's kind of an annoyance. Have I found a glitch, or have I overlooked something minor?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF 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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,367
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    I don't know why it's not working, but I suspect it has something to do with the Disappearing-animation is a special animation that is triggered when an object is destroyed.
    You can easily solve this by using another animationslot for the animation, preferably create a new animationslot and put your disappearing-animation in there.
    Alternatively you can use the Disappearing-animation as you currently do and change the action to Destroy in your first event. It will automatically play the Disappearing-animation and THEN destroy the object. Then there's also no need for the second event.

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Dec 2014
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That worked! I thought that you had to specify a disappearing animation and then change it to that before destroying an object. I had no idea it did it on its own.

Similar Threads

  1. Multiple Active Objects - Destroy Issue
    By mr_mercury06uk in forum Fusion 2.5
    Replies: 0
    Last Post: 3rd March 2014, 06:26 PM
  2. Destroy only one active at X/Y position from a launch object
    By Matriax in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 11th June 2013, 09:58 AM
  3. Permanently Destroy an Active?
    By XStar in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th March 2012, 03:54 PM
  4. move object (not reposition)
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 22nd December 2010, 11:44 PM
  5. Reposition/resize object when app maximized
    By Ran_TH in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd August 2008, 07:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •