User Tag List

Results 1 to 5 of 5

Thread: Enemies thats return from the dead

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2009
    Location
    Australia
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Enemies thats return from the dead

    Having enemies that just die after being hit can result in a rather empty looking stage when doing any amount of backtracking, how would I go about making defeated enemies return after a while so that the player is always kept on their toes.

    Any help would be appreciated
    Thanks

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Christian_Wheel's Avatar
    Join Date
    Mar 2010
    Location
    Los Angeles
    Posts
    371
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Enemies thats return from the dead

    Rather than placing enemies in the Frame Editor, you could create them programatically in the Event Editor when the player reaches certain bounds. You'll also want to add a condition to make sure that the enemy isn't already in existence (in case the player didn't kill them the first time around).

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Enemies thats return from the dead

    Aye, what Christian said. You could also use enemy 'spawn points' with unique alterable values they assign to their enemy to ensure there is only one at a time in that spot. Or, you could have it set up so that it spawns lots of enemies that head to the player when close enough like the zombies in castlevania SotN in the intro area.

  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2009
    Location
    Australia
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Enemies thats return from the dead

    The problem is that I'd atleast like to be able to control their initial placement in the editor so I can have some power over the way the level unfolds.

    How about if when an enemy is destroyed I created a Spawn point on it's location that counts down to zero after which the spawn point is destroyed and a new enemy is created on the spot or does that sound like a strange way of doing things?

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Enemies thats return from the dead

    If you want a more classic style, you can set spawn points in the frame editor instead of creating them where the enemy is destroyed. This helps avoid some issues with wandering enemies, and allows you to not have to save the spawn point positions.
    Working as fast as I can on Fusion 3

Similar Threads

  1. If <=10 return 1, if <10 return 0
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th October 2012, 10:08 PM
  2. thrown enemies not detecting other enemies
    By mobichan in forum File Archive
    Replies: 4
    Last Post: 8th April 2009, 06:40 PM
  3. Return a Float
    By Jaffob in forum Extension Development
    Replies: 3
    Last Post: 3rd April 2009, 11:05 PM
  4. carriage return
    By Dave in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th May 2008, 02:32 PM
  5. LUA return-functions
    By Looki in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 18th March 2007, 09:03 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
  •