Orient an object to the mouse cursor

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 January 9, 2010 at 18:17 by admin · Permalink · Leave a comment
  • Share/Bookmark

In: ActionScript, Tutorial · Tagged with: , ,

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

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 3.0 (the programming language [...]

Posted on December 18, 2009 at 17:06 by admin · Permalink · One Comment
  • Share/Bookmark

In: ActionScript, Game Design, Tutorial · Tagged with: , , , ,