A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: How does one go about making something follow your mouse?

  1. #1
    Junior Member
    Join Date
    Jul 2005
    Posts
    3

    How does one go about making something follow your mouse?

    I want to make a generic asteroids ship follow your mouse around and shoot at it when you click.

  2. #2
    Junior Member
    Join Date
    Jul 2005
    Posts
    3
    Any help would be much appreciated.

  3. #3
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,834
    _xmouse and _ymouse to get the x and y coordinates for the mouse.
    .

  4. #4
    Junior Member
    Join Date
    Jul 2005
    Posts
    3
    Mmk....and how would I do the shots?

  5. #5
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,834
    There are many answers for this could you give something like an ilustration or an animation of what you want?
    .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center