1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

Flash: Rotation using Atan2

  1. Clicks today:
    0
  2. Clicks this month:
    1
  3. Overall rating:
    2.33/5

Flash » Game Development — almost 10 years ago
Thumbnail
In this tutorial, I'm going to show you how to use Atan2 function to programme a tank barrel so that it turns in your mouse's direction. A useful piece of code for Flash applications, espessialy Flash games.

Comments

Your Comment

You must be logged in to post a comment.