↧
ActionScript: Orient an object to the mouse cursor with Flash
How to orient an objet to an other ? Just put those lines and change the instance name myTank. 1 Download the source code here : [www.thisisgameplay.com]_Orient_object_to_mouse_cursor.fla // This...
View ArticleActionScript: Throw bullets to mouse direction
After calculating the angle of 2 graphic objects, you can also use this angle to throw a bullet to the object direction with the trigonometry. How ? Calculating the angle (in radian) between 2 graphics...
View Article