User Tag List

Results 1 to 5 of 5

Thread: How to let object follow player1?

  1. #1
    No Products Registered

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

    How to let object follow player1?

    In my alley cat remake, broom object has to follow my cat everywhere it goes in the screen.

    Have I to make a static broom, or a moving broom in "movement properties"? What do you suggest?

    How can I let the broom follows my cat? (player1)

    Pls let me know full details, 'cause this step it's complicate for me.

    Thanks!

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2006
    Posts
    269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to let object follow player1?

    Try giving it Ball movement, then just get crazy with it. Make it follow the player sometimes and make it do random things other times.

    Use it's alterable values to decide what it should do.

    Like say:

    ChasingPlayer = 0 don't follow player
    Or = 1 Do follow player

    You'll have to come up with how it does it exactly on your own.

  3. #3
    No Products Registered

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

    Re: How to let object follow player1?

    Yeah I'm using ball movements and this code:

    x position of broom >=X of cat---->look at X0,Y0 from cat (under broom icon)
    x position of broom <=X of cat---->look at X0,Y0 from cat (under broom icon)
    Y position of broom >=Y of cat---->look at X0,Y0 from cat (under broom icon)
    Y position of broom <=Y of cat---->look at X0,Y0 from cat (under broom icon)

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Location
    Turku, Finland
    Posts
    1,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to let object follow player1?

    always - look in the direction of cat. Is this what you meant?

  5. #5
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to let object follow player1?

    You are right, but have you ever played alley cat?

    I suggest you using Direction calculator, since Look in the direction is too fast and a bit ugly.

Similar Threads

  1. Attach active object to a moving object and follow
    By Worf in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th January 2010, 06:50 PM
  2. Follow the closest object
    By CloudJDR in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 17th November 2009, 02:59 AM
  3. Follow object.
    By Thalamus in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st April 2008, 01:26 AM
  4. Crazy bug/problem with Platform Movement & Player1
    By GnadeGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 23rd February 2007, 11:39 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
  •