User Tag List

Results 1 to 6 of 6

Thread: How to duplicate enemies and properties

  1. #1
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to duplicate enemies and properties

    Hey guys, the post isnt as simple as it sounds, thats just all i could fit in the subject lol. the question i have is, how could i create 1 enemy, using path movement, and duplicate it x number of times but assign a random path movement for each enemy? also, when i attack a single enemy, once its life drains and it dies, all other enemies die onscreen. i know this is because it has simply duplicated the actions as well and the only way i have found to get around this is to create a separate active object per enemy i want to add. again this works, but it seems like a pain and that it would quickly take up too much unnecessary memory use, not to mention im sure there is an easier way of doing this! lol

  2. #2
    Forum Moderator

    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,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: How to duplicate enemies and properties

    Qualifiers maybe?

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

  3. #3
    No Products Registered

    Join Date
    Jul 2010
    Location
    Australia
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to duplicate enemies and properties

    Wow man, you really need to break those long paragraphs up!

    As far as I know, without using obscure extensions, you can't randomize a path movement. A path movement is really basic though.

    Now, you haven't given a lot of info here.
    You want enemies with random paths? Have enemies, duplicate them and then do this:
    -->Every 2 seconds
    + Pick "Enemy" at random
    =="Enemy" set direction to Random(32)

    This will make the enemies wander around.
    You can then use large circles to act as Line of sights, but that needs to be coded in from the very beginning.

    As for the instant death:
    -->"Boss Enemy" alt val HP is <=0 (if that's how he dies)
    ==Run loop "DIE" (# objects Enemy) times

    --> On loop "DIE"
    + Pick object Enemy at random
    == Destroy Enemy

    That should do you for now! Try that and then post back, and try and use the Return key a little more!

  4. #4
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to duplicate enemies and properties

    lol i didnt know this was being looked at by the visually impaired! :P just kidding. Thanks for the input BAugustus, i'll try that out later. Yeah i have 1 enemy that will be appearing multiple times, like for example bats on castlevania. I just needed to know if there was a way to make them spawn x amount of times and randomize the movement according to path movement. But what you posted sounds like it makes sense so i'll give it a go!
    This is going on my bike stage and i have it set up to where when x amount of enemies have been killed, different stage elements take place, like:

    Enemy Counter = 0 > Create Overpass

    and then my overpass is a parallaxer, but the way i made it look natural is by making an active object and give it the bouncing ball movement that goes left, then made it at appear at the edge of the parallaxer object, that way there is no break when the overpass appears. sounds kinda silly, but it works like a charm

  5. #5
    RayRayTea
    Guest

    Re: How to duplicate enemies and properties

    how could i create 1 enemy, using path movement, and duplicate it x number of times but assign a random path movement for each enemy?
    Here's a simple example:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=200578&#Post200 578
    Press space to assign it a random movement.

    You don't need any extensions and stuff.

    I think this method will probably not work as you want it to, but it's still pretty useful to know how to achieve this kind of effect.

  6. #6
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to duplicate enemies and properties

    Thanks! i'll check that out as well

Similar Threads

  1. Duplicate objects/enemies and have them each behave on their own? I know theres a way
    By edman3d in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd December 2012, 09:58 AM
  2. Duplicate 360 Degree Enemies with Collisions
    By DaveC in forum File Archive
    Replies: 1
    Last Post: 27th July 2011, 12:04 PM
  3. Problem with duplicate enemies matching ID with..
    By DaveC in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th July 2011, 11:50 AM
  4. duplicate enemies problem
    By AndyB in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th October 2009, 10:54 PM
  5. thrown enemies not detecting other enemies
    By mobichan in forum File Archive
    Replies: 4
    Last Post: 8th April 2009, 06:40 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
  •