User Tag List

Results 1 to 9 of 9

Thread: Game Over Destroy Objects

  1. #1
    Clicker Fusion 2.5Android Export ModuleSWF Export ModuleXNA Export Module
    jbrown2177's Avatar
    Join Date
    Dec 2011
    Location
    VA
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Game Over Destroy Objects

    Hey gang,

    How do I destroy all objects on the screen once all your lives are gone? Right now I'm just using 1 frame and when all your player lives are finish the game continues to re spawn all objects to include the main player. Without creating another frame and switching to frame how do I accomplish this?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is easy...

    CONDITION>Numbers of lives of (player1) = 0
    THEN>DESTROY

    So you put the destroy action in all of your objects..

    This is what are you looking for?

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    961
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can move all of your events (that involve the main game) into a group in the Event Editor (New --> "a group of events") Once all players lives reach 0, then you can deactivate this group (Special Conditions --> Group of Events --> Deactivate) and this should stop any of your conditions causing the objects to be recreated. Like what paobrasil said, be sure to destroy all of the objects too.

  4. #4
    Clicker Fusion 2.5Android Export ModuleSWF Export ModuleXNA Export Module
    jbrown2177's Avatar
    Join Date
    Dec 2011
    Location
    VA
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by lh37 View Post
    You can move all of your events (that involve the main game) into a group in the Event Editor (New --> "a group of events") Once all players lives reach 0, then you can deactivate this group (Special Conditions --> Group of Events --> Deactivate) and this should stop any of your conditions causing the objects to be recreated. Like what paobrasil said, be sure to destroy all of the objects too.
    I will try this, thanks!

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, try, I think the tip of lh37 it's better and you will be less owrk

  6. #6
    Clicker Fusion 2.5Android Export ModuleSWF Export ModuleXNA Export Module
    jbrown2177's Avatar
    Join Date
    Dec 2011
    Location
    VA
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, that worked as I searched for all the conditions that spawned objects, I just deactivated those and destroyed current objects on the screen when life was=0 and it worked. Thanks guys.

  7. #7
    Clicker Fusion 2.5
    Del_Duio's Avatar
    Join Date
    Sep 2008
    Location
    Cygnus X-I
    Posts
    944
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Easiest way I'd think would be to give everything the same qualifier (ex. Neutral), and then when the player dies you do Destroy.Group.Neutral.

  8. #8
    Clicker Fusion 2.5Android Export ModuleSWF Export ModuleXNA Export Module
    jbrown2177's Avatar
    Join Date
    Dec 2011
    Location
    VA
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I never thought about a qualifier. I'll expiriment with that too. But my method worked too just FYI

  9. #9
    Clicker Fusion 2.5
    Del_Duio's Avatar
    Join Date
    Sep 2008
    Location
    Cygnus X-I
    Posts
    944
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Qualifiers can be very useful. For example if you're making a platformer that uses backdrops and other objects to test for collisions, you could make every non-backdrop object you can stand on or whatever the same qualifier, and then test collisions vs. that qualifier.

    It's much better and faster for you than to test for every different object.

Similar Threads

  1. Swf Crash (destroy objects)
    By StingRay in forum SWF/Flash Export Module Version 2.0
    Replies: 14
    Last Post: 15th March 2013, 09:08 AM
  2. [BUG] Objects outside the frame don't destroy
    By paobrasil in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 22nd October 2012, 08:13 PM
  3. created objects create objects and destroy both.
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th September 2012, 08:37 PM
  4. destroy objects with alterables?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 19th January 2007, 08:20 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
  •