User Tag List

Results 1 to 6 of 6

Thread: Tower Defence "Shoot Closest Enemy" Example

  1. #1
    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)

    Tower Defence "Shoot Closest Enemy" Example

    This example demonstrates the basis for a simple Tower Defence game. Towers will shoot at the closest enemy when that enemy comes within a distance of 100 pixels away.

    This example supports unlimited enemies and towers created at runtime.

    It may not be the most efficient method because it always runs loops, however this could be optimized.

    I made this example for jthongbai on The Daily Click.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Tisnart's Avatar
    Join Date
    Feb 2008
    Location
    On, Canada
    Posts
    1,031
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Tower Defence "Shoot Closest Enemy" Example

    nice example!

  3. #3
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tower Defence "Shoot Closest Enemy" Example

    Great! I shall remember this if I ever want to make a tower defense map in MMF2.

  4. #4
    Clicker

    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,734
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Tower Defence "Shoot Closest Enemy" Example

    Andy, thanks for that great example.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tower Defence "Shoot Closest Enemy" Example

    Great example, thanks.

  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: Tower Defence "Shoot Closest Enemy" Example

    Quote Originally Posted by dragonguy
    Great! I shall remember this if I ever want to make a tower defense map in MMF2.
    Don't ask me why, but this made me laugh!

    ditto dragonguy, ditto

Similar Threads

  1. Destroyed enemy vanishing, not playing "disappearing" animation
    By Sterling7 in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 17th July 2013, 04:21 AM
  2. What Happenned to the "shoot object" option!!!???
    By Jacob_Miller in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 31st October 2010, 07:06 PM
  3. Tower Defence Help
    By Destroyer0203 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st January 2010, 01:33 AM
  4. "Shoot an object" problem & another question
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 9th August 2008, 04:32 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
  •