User Tag List

Results 1 to 6 of 6

Thread: How do i make one character follow another?

  1. #1
    No Products Registered

    Join Date
    Jan 2010
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do i make one character follow another?

    How do i make one character follow another? and not get stuck? Meaning: i want character #2 to follow character #1, but i don't want character #2 to get stuck while walking around boulders etc. i want character #2 to have a virtual brain, like if there was a rock blocking it's path, then he would go AROUND it.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do i make one character follow another?

    Use the Pathfinding object or Advanced Pathfinding Object. They come with some useful examples.

  3. #3
    No Products Registered

    Join Date
    Jan 2010
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do i make one character follow another?

    could you kinda' go into a little more detail then that?

  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: How do i make one character follow another?

    Gummy, although there are several methods, yoy could also use nodes. I have an example on my website. Also on my website, there is an example using static enemies, and uses X,Y position of your character.

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

    Re: How do i make one character follow another?

    Thanx! It seems like your always the one to answer my questions.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do i make one character follow another?

    The two pathfinding objects are found at http://ext.neatwares.ath.cx/ i think

    Basically what you'd do is have the pathfinding always get the closest path between the follower and the followed, and make the follower follow that path...

Similar Threads

  1. How do I get the screen to follow my character?
    By emberjed in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd September 2012, 04:39 AM
  2. Partially follow character?
    By Ausomeman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st May 2010, 04:44 PM
  3. Making the camera follow a character ....?
    By delta9857 in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 27th October 2009, 03:15 PM
  4. 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
  •