User Tag List

Results 1 to 4 of 4

Thread: Destroy objects one after another

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2015
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Destroy objects one after another

    Hi im novice at ctf. In my platform game i have hero that hit enemies with sword. it must be 1 hit - 1 kill. But when enemies too many hero kill them 2-3 at once. its a problem. I need destroy enemy objects one after another. i need to destroy 1 object per 1 animation of sword hit, first object closest to hero . Help pls

  2. #2
    Clicker Fusion 2.5 (Steam)
    kauppafanit's Avatar
    Join Date
    Dec 2015
    Location
    FINLAND! <3
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe if you make the enemies collide with each other, so they have to come by one at a time? Then the Player has to kill them 1 by 1.

    Or if you want them to come as a group then i suggest you use a counter, like:

    +[counter] = 0
    +[sword] collides with [enemy]
    -> Destroy [enemy]
    -> Set [counter] 1

    +[counter] = 1
    +[sword] collides with [enemy2]
    -> Destroy [enemy2]
    -> Set [counter] 2

    And so on...

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,734
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Yes but...let's say you never got to hit enemy 2. Wouldn't that cause a massive freak out for the player to be swarmed by enemies?

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #4
    Clicker Fusion 2.5 (Steam)Android Export Module (Steam)

    Join Date
    Dec 2015
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can use the advanced movement object (i think its this one) to calculate the distance between all the enemys and the player

Similar Threads

  1. destroy all objects EXCEPT x?
    By Volnaiskra in forum Fusion 2.5
    Replies: 5
    Last Post: 19th May 2014, 01:46 PM
  2. Swf Crash (destroy objects)
    By StingRay in forum SWF/Flash Export Module Version 2.0
    Replies: 14
    Last Post: 15th March 2013, 10:08 AM
  3. [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, 09:13 PM
  4. created objects create objects and destroy both.
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th September 2012, 09:37 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
  •