 
 
Rotation using atan2
In this tutorial, I'm going to show you how to program the tank rifle so that it changes its rotation according to where your mouse is. It's good to know the little piece of code that makes the effect possible since it comes in really handy in many kinds of Flash applications, mostly in games, but not only.
Views: 445 |  |  by Stephen
  |  by Stephen 
 
View this tutorial

Most popular (last 7 days)
 Ciara forum signature
Ciara forum signature Water in Cinema 4D
Water in Cinema 4D Hologram
Hologram Create a computer case model
Create a computer case model Star Wars Hailfire Droid
Star Wars Hailfire Droid
Highest rated (last 7 days)
 Glassy Orbs
Glassy Orbs Shocking Text
Shocking Text Flash MX. Part II. Making Nice Glowing Effect and learning basic Flash techniques and ActionScript.
Flash MX. Part II. Making Nice Glowing Effect and learning basic Flash techniques and ActionScript. PoseMixer Basic Use Tutorial
PoseMixer Basic Use Tutorial Muscle deformations and Facial Expressions
Muscle deformations and Facial Expressions
