ActionScript: Orient an object to the mouse cursor

Share

How to orient an objet to an other ? Just put those lines and change the instance name myTank. 12345678910111213141516// This object will always look at the mouse cursor myTank.addEventListener(Event.ENTER_FRAME, tankEnterFrame); // This function will be launched every frame (25 times by seconds); function tankEnterFrame(pEvt) {   [...]

Posted on Saturday January 9th, 2010 at 06:17 PM by admin · Permalink · Leave a comment
Share

In: ActionScript3 as3, Game Design, Tip, Tutorial · Tagged with: , ,

Tutorial: How to make a game like Jetman – step 1 – The Jetman

Share

In my first tutorial I will show you how to make a flash game like Jetman. A simple very famous casual game on facebook and very addictive. Play Jetman 1. First of all you have to download the Adobe Flash IDE: Adobe Flash CS3 or Adobe Flash CS4 We will code the game with ActionScript [...]

Posted on Friday December 18th, 2009 at 05:06 PM by admin · Permalink · One Comment
Share

In: ActionScript3 as3, Game Design, Tip, Tutorial · Tagged with: , , , ,