User Tag List

Results 1 to 4 of 4

Thread: Enemy Follow Help

  1. #1
    No Products Registered

    Join Date
    Dec 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Enemy Follow Help

    Okay so im wondering how i can make it so that when the enemy becomes visible it will start running at my character
    btw its a platformer game

    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Enemy Follow Help

    Well without looking at your game, I have done this lots of times.

    -You could make an active object, a big circle, and always attach it to the enemy, and when the player is under the circle [colliding/overlapping] it, then look in direction of player and start movement.
    -Or you could use an expression, such as IF X.pos of player is Greater than X.pos of Enemy set direction of enemy to ->
    and IF X.pos of player is Lower than X.pos of Enemy set dirction of enemy to <-
    -Then there are yet still other ways to do it, like detecting the distance from the player, etc...

  3. #3
    No Products Registered

    Join Date
    Dec 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Enemy Follow Help

    thanks it worked great
    just one last question though
    is there anyway that the enemy could actually follow the character
    e.g. i jump over him he would turn around and keep chasing me

  4. #4
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Enemy Follow Help

    I believe 00J just told you that

    I can do it for you if you want and upload the new example?

Similar Threads

  1. Strange thing: If Enemy Alterable Value A = Enemy Alterable Value B
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 26th March 2012, 05:29 PM
  2. enemy follow player?
    By Viewtiful in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd January 2011, 06:43 PM
  3. Follow
    By Gameguy94 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd September 2008, 01:31 PM
  4. Everybody follow me!
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 21st April 2008, 03:01 PM
  5. How can I set enemy object to follow my character?
    By The Thinker in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 6th November 2006, 12:18 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
  •