User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: A Chasing enemy

  1. #11
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A Chasing enemy

    Quote Originally Posted by Lillmissthang
    I can't because the file is too big.
    Upload the file to mediafire and someone will have a look

  2. #12
    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: A Chasing enemy

    make sure yur using build 248 of mmf, for your version standard or developer, next you might need to try to make some ideas of your own, because it seems like you are very new to MMF.

    If you can't get an object to look in the direction of another object and move toward it, you really will keep running into road block after road block and you'll just give up.
    start with some easy tutorials they can be found on the Clickteam homepage.
    Clickteam Hompage

  3. #13
    No Products Registered

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

    Re: A Chasing enemy

    i used this in one of my games.
    Set the object as bouncing ball.
    If you want it to chase from the beggining make an event:
    Always: (the object that should chase)look in direction of....
    when you press it takes you to the frame editor.
    select relative to..
    choose the object that you want to be chased
    position the box with the x on the center of the object and hit okay.
    This worked for me hope it works for you.

  4. #14
    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: A Chasing enemy

    there are hundreds of ways to make A.I. for an enemy, MMF leaves the door wide open with it's variable coding allowances.

    The basic methods are the easiest to do such as making a large active circle and filled shaped object that floats over top of your enemies, and when the player is overlapping the circle related to the enemy, have the enemy look inthe direction of the player and move to them.

    To the more complex formula methods that use distances to calculate what enemy should chase a player.

  5. #15
    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: A Chasing enemy

    There's even ways for the enemy to chase the player after the player hides, because it goes to the last point where the player was seen and sees the player again.

  6. #16
    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: A Chasing enemy

    "because it goes to the last point where the player was seen and sees the player again."

    If the player is still there... [laugh]

    If the player is gone, then you'd set the enemy to a wander/patrol setting, or with MMF's neat new multiple movements you could have the enemy create an "i'm leaving my position waypoint, and switch to a ball movement, to chase the player or go to the players last location waypoint, once there, and no player is detected, the enemy could reverse course and head back to the "i'm leaving my position waypoint" once back at that waypoint the enemy could switch back to it's patrol "path movement".

    Of course you'll have to be proficient with variables and flags, so you can turn waypoints on and off, and such.

  7. #17
    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: A Chasing enemy

    Haha, yes. If the player is still there.

    There's an article at the TDC about this, you should take a look.

  8. #18
    No Products Registered

    Join Date
    Oct 2006
    Location
    South Africa
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: A Chasing enemy

    I think it was called the "Last Known Pursuit" method.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Help with simple platform enemy chasing AI
    By Macaw in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th July 2013, 05:40 PM
  2. Simple enemy chasing player example
    By happygreenfrog in forum File Archive
    Replies: 1
    Last Post: 25th June 2013, 12:31 PM
  3. Chasing Lightning from Gunstar Heroes
    By Fimbul in forum File Archive
    Replies: 3
    Last Post: 10th June 2009, 05:51 PM
  4. Chasing Cars
    By Pleng in forum The Games Factory 2 - Technical Support
    Replies: 14
    Last Post: 23rd January 2008, 09:58 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
  •