User Tag List

Results 1 to 9 of 9

Thread: Help with making enemies chase the player

  1. #1
    No Products Registered

    Join Date
    Aug 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with making enemies chase the player

    Hi guys, I was wondering how i could make the enemies in my game walk towards the plaer.

    The game is top-down and the enemies are zombies so they need to be slow.
    Also, how would i make it so each zombie takes two hits before they die?

    Thanks

  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: Help with making enemies chase the player

    1. Have an event that says always look at player. Use the ball movement.

    2.Use a counter or Alterable Value for an enemy and set it to 2.
    When the value = 0 destroy the enemy.

    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
    Aug 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with making enemies chase the player

    Hey, thanks for the quick reply. i got it to work

  4. #4
    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: Help with making enemies chase the player

    Great.

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

  5. #5
    No Products Registered

    Join Date
    Aug 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with making enemies chase the player

    ok so everything works fine except that the enemies can walk through anything. i am using the same enemy type (just copy and pasted him over and over) and i have created a collision between him and every object in my game = bounce.

    what is going wrong?
    thanks

  6. #6
    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: Help with making enemies chase the player

    Bounce will do nothing if you always tell them to look in the direction of the player. Bounce literally just changes the direction.
    Working as fast as I can on Fusion 3

  7. #7
    No Products Registered

    Join Date
    Aug 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with making enemies chase the player

    so is there anything i can do?

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export Module
    xhedgehogx's Avatar
    Join Date
    Nov 2007
    Location
    NY, USA
    Posts
    743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with making enemies chase the player

    Whenever I had things follow like that then bounce off walls, etc, they are always able to do it. Not sure why they're going through.

  9. #9
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    461
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help with making enemies chase the player

    [ignore this]

Similar Threads

  1. Enemies that follow player???
    By MrXkill in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th April 2011, 03:49 AM
  2. Making the player Slide with the PMO?
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 9th December 2009, 08:27 PM
  3. Making player Jump??
    By hendrix in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 12th May 2009, 04:42 PM
  4. Making enemies flash when hit.
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th November 2008, 11:55 PM
  5. Making enemies find player
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 13th January 2007, 02:50 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
  •