User Tag List

Results 1 to 7 of 7

Thread: Follower

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleFirefly 3D Module

    Join Date
    Oct 2006
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Follower

    Hey,

    I need to have a follower imitate the players movements in my platform game but I'm unsure how to do it. The follower would need to jump and land in the same place as the player and keep up with the main player, just staying a touch behind him.

    Basically I'm after a similar idea to how Tails follows Sonic in Sonic 2 (Vid) or Diddy Kong in Donkey Kong Country (Vid)

    If any of you could throw me some idea's or example files that'd be great.

    PS: The main player object uses the Platform Movement Object.

  2. #2
    Clicker SWF Export Module

    Join Date
    Dec 2006
    Location
    England, UK
    Posts
    807
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follower

    You can use another Platform movement object, give it detectors to jump or climb whenever they dont overlap/overlap a wall, compare x and y positions to the main player etc

    I find using the advanced direction object (if you dont mind using more extensions) to compare distances handy, between a main player and a follower.

    It's quite a simple method but works quite well with some fine tweaking.

  3. #3
    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: Follower

    I don't think he means AI, I think he means a delayed in-game replay.

    All you do is use the array object starting with a 0-based indexed 100 by 4 array. X will be the time, each frame of the app. You Always Store the player X postion at y=0, and Y Position at y=1 in the array. Then you store animation in y=2 and the animation frame in y=3. Then, as you're recording you can play it back but behind a bit. You could also clear the array somehow when the player doesn't move to save from using up waaaay too much memory.
    Working as fast as I can on Fusion 3

  4. #4
    No Products Registered

    Join Date
    Mar 2010
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follower

    You should use nods, aka, your player drop nods like every 0,15s, and your follower follow the nods.
    I use this system for my game and it works good.

  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: Follower

    What is a "nod"? I know that word to mean nod your head as in to say yes.
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follower

    I think he means "nodes".

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleFirefly 3D Module

    Join Date
    Oct 2006
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Follower

    I've tried the node thing earlier and I couldn't get it to jump fluently.

Similar Threads

  1. follower
    By Panchos in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th June 2008, 04:39 PM
  2. Follower example for Patrick
    By LIJI in forum File Archive
    Replies: 2
    Last Post: 8th September 2007, 07:47 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
  •