User Tag List

Results 1 to 7 of 7

Thread: Homing Missiles in MMF2

  1. #1
    No Products Registered

    Join Date
    May 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Homing Missiles in MMF2

    Hi,

    I am currently developing a shoot'em up game and I would like to include enemies which fire homing missiles at the player. So far I didn't come to a good solution how to implement those. I could set the directions of the missiles at x=0,y=0 of the player's position. But this would look and play pretty rubbish.

    The problem is the way homing missiles adjust their directions. For example if the player dodges them, they should actually fly a circle before aiming at the player's direction again. Instead of instantly changing their direction toward the player.

    So anyone has good tips or ideas how to handle homing missiles in MMF2?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Homing Missiles in MMF2

    I think the 'advanced direction calculator' extension has a 'rotate towards' function. If not that extension I know there is one that has it, I've seen it.

  3. #3
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Homing Missiles in MMF2

    Yeah that is brilliant - "rotate towards" is far better than "look in direction-of". So they can run a ring around the player and come back for another go if they miss.

    It's very easy to set-up - just add the advanced direction object into your application and make the event something like "every 00:00.10" rotate object towards another object. (that action is found under the advanced direction object).

    PS.: Sorry, if you want the missiles to be better at homing you can make it "always" rotate or only every second perhaps if you want it to be a very meandering homing missile.

  4. #4
    No Products Registered

    Join Date
    May 2008
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Homing Missiles in MMF2

    Thanks a lot.
    The rotate towards command sounds pretty much like just the feature I was looking for.

  5. #5
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Re: Homing Missiles in MMF2

    Quote Originally Posted by Chaos
    I think the 'advanced direction calculator' extension has a 'rotate towards' function.
    Does the extension "Advanced Direction Calculator" exist?
    Is it Direction Calculator?

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Homing Missiles in MMF2

    Advanced Direction Object.

  7. #7
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Homing Missiles in MMF2

    Sorry, Often when I post I'm at work so I can't recall exact names of things, but yeah, Advanced Direction Object.

Similar Threads

  1. Homing for Multiple Targets
    By Teh_Purple_d00d in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 19th September 2015, 11:37 PM
  2. Missiles for C3ooo
    By Chaos in forum File Archive
    Replies: 0
    Last Post: 23rd April 2010, 05:35 PM
  3. N+ type homing missiles?
    By Appo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th March 2010, 08:39 PM
  4. Homing Missile Example
    By Ryan in forum File Archive
    Replies: 5
    Last Post: 25th January 2010, 03:39 AM
  5. Turning Missiles and "Semi-Pausing"
    By Kid_Roleplay in forum The Games Factory 2 - Technical Support
    Replies: 15
    Last Post: 17th July 2007, 01:28 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
  •