• home
  • forum
  • my
  • kt
  • download
  • Home / 2D Graphics / Flash / Games /

    Create heat-seeking missiles with ActionScript

    Author: 2008-10-06 08:31:39 From:

    This tutorial will show you how you can create heat-seeking missiles using ActionScript. We will be using the explosion code from the previous tutorial, which I recommend you read. In the example below, clicking the mouse creates a missile which seeks the target. The target is dragged by the mouse. Upon reaching the target, the missile explodes. No matter where the target is moved, the missile will seek it out relentlessly.

    You don’t have to understand how the explosion code works in this tutorial, although a good knowledge of trigonometry will help.

    (Click with the mouse anywhere inside the movie to create a new missile.)

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      3D (20)
      Math Physics (14)
      3rd Party (5)
      Navigation (60)
      Actionscripting (26)
      Optimization (16)
      Animation (32)
      Projector (9)
      Audio (46)
      Special Effects (112)
      Backend (25)
      Text Effects (65)
      Drawing (18)
      Tips and Techniques (41)
      Dynamic Content (25)
      Tricks (6)
      Games (69)
      Utilities (21)
      Getting Started (91)
      Video (24)
      Interactivity (43)
      Web Design (29)

    New

    Hot