Build 10 games and learn game development along the way in this fast paced game development course

Get the source code of 12 commercial games, loaded 50+ million times, and learn the secrets of game design

Learn how to make a successful Flash game from a real world example. Fully commented source code

Create realistic Flash physics games from scratch with advanced features, from Angry Birds to Crush the Castle

Create a Flash Racing Game Tutorial

If you’re interested in gaming and blogging, YouSayToo lets you earn from your flash games and allows you to make money blogging.

In this tutorial we’ll cover the creation of a flash racing game.

I got the permission from Remus C. from gameSheep to publish this awesome tutorial.

Before we start, I recommend you all to give a look at gameSheep. You will find a lot of games with cute graphics.

Moreover, this tutorial will give the start to another series of tutorials about creating a flash racing game.

Let’s start!

Moving the car

1. Car movement is not the most difficult part of a racing game, but if you want to simulate realistic (almost realistic) movement you have to take in consideration some of the aspects described below.

2. Download and open racing_part1_step1.fla file.

3. Click on the first frame (the only frame) of the “defs” layer and press F9 to display the Actions Window for this frame. Now let’s see what these variables do:

4. OK! Now let’s get back to school :) and see what we can do with these variables.

Click on the first frame of the second layer (“actions”) and if the Actions windows is not open, press F9 to display it.

We will discuss this script in a few moments, but first let’s see how Flash “understands” movement and coordinates.

Just a bit of trigonometry and Flash

Flash is using the classic Cartesian Coordinate System (a grid based system with a horizontal axis OX and a vertical axis OY).


You notice in the attached picture that in Flash the Y axis is inverted meaning that the negative side of the Y axis is positioned higher than the positive side. So the lower a coordinate is, the higher it’s value will be.

Because Flash understand only horizontal and vertical vectors we will have to calculate the horizontal and the vertical components of the actual “speed”.

So, from trigonometry we know (in this case) that:

sin(angle) = speedx/speed and

cos(angle) = speedy/speed

so… we know the angle (angle=car._rotation) and we know the speed. That’s all we need know. Is it? No. You need to know one more thing:

The Math class implemented in Macromedia Flash does not work with angles measured in degrees. Instead we will have to provide angles measured in radians (an alternative unit measurement for angles).

The only case in which you will use degrees is when actually rotating the movieclips.

Using the simple equation below you will be able to transform degrees into radians:

angle_radians = angle_degrees * (PI/180)

Now we can easily calculate the X and Y components of the car’s speed:

speedx = Math.sin(_rotation*(Math.PI/180))*speed;
speedy = Math.cos(_rotation*(Math.PI/180))*speed*-1;

Well, you already figured out why the sign of the Y component has to be inverted ;)

And now let’s get back to Flash and our Actions Window. Next I will explain what the “step” function is all about. The “step” function will be executed on every enterFrame event (on the “stepper” layer you will find an empty movieclip the executes the onClipEvent (enterFrame) routine).

That’s it! We already have a moving car. Now we can move on to collisions.


1. We all know why collisions are important in a Racing Game… Because we don’t want the car to leave the track, because we want to force the player to use a specific way, because we want him/her to avoid collisions in order to get the best time (or win the race).

Collisions are a very important part of a racing game and 70% of the game feeling and success depends on good collisions.

We don’t want the car to get stuck in the non accessible areas (NAA), we don’t want it to lose all speed although it hardly touches those areas and we definitely don’t want it to bounce back (by reversing the speed).

In other words we don’t want to give the player a hard time, but on the contrary, an enjoyable game. So when the car touches the NAA we must try to correct it’s trajectory and of course apply a speed penalty depending on the angle of collision and collision duration.

2. Download and open the racing_part1_step2.fla file.

3. Before we go back to the “step” function, I will explain how the collisions will work.

Using four points to detect collisions

As you can see in the attached picture, we will pick four points, one on every side of the car and check to see if any of them “touches” the NAA.


For example if the Left Side Point is inside the NAA (hits the NAA) then we will have to apply a speed penalty and increase the angle (_rotation) of the car. Why do we do that? Because of what we discussed earlier: we must try to correct the car’s trajectory. So what we do here is force the car to steer right.

OK, I guess everything is clear up to this point. And since we are speaking of points, let’s see how we calculate their coordinates. To simplify things we will take the Left Side Point as an example.

When the car’s rotation is 0 our job is very simple: the LSP coordinates are x=car._x-20 (20 pixels to the left of the car’s center point) and y=car._y

But the car will not always have an angle of 0. Well, here comes the tricky part. There are a few ways to calculate the four points even if the angle is not 0 (for example you can use the sine and the cosine functions) and for this tutorial I chose the simple way (I don’t know if it’s the optimum way, but it’s very simple):

We define the Left Side Point as if the car’s rotation was 0:

car.pointLeft = {x:-20, y:0}; //this is an Object

and then we transform the point’s coordinated from local (related to the car’s clip) to global (related to the _root clip where we will test the collisions):


Now we have our Left Side Point coordinates that we can use to check the collision:

car.pointLeft.x and car.pointLeft.y

Can it get any simpler? :)

4. And again back to our Actions Window. Click on the first frame of the “actions” layer and if the Actions Window is not open press F9 to display it.

You will notice that I added a few lines to the “step” function and you probably already know what those lines do :) but still I will go into a few details.

Hard? Not so hard :) And the next two steps are even simpler.

Where are we running?

1. Up to now we have a 100% functional game engine but no game. We don’t have a goal. So we’ll have to add one and because this tutorial is about a time trial racing game we will add laps and timers.

2. Download and open the racing_part1_step3.fla file.

3. You notice that I added two frames on every layer and I labeled them “ready set”, “go” and “finish”. In the first frame a movie clip will play saying “ready, set, go”. When “go” is displayed _root will move to the frame labeled “go” where the car can move.

Why the car will not move in the first frame? Well, that’s because the “stepper” movieClip only exists in the second frame, so that’s where the “step” function will be executed.

On the second frame of the “actions” layer you will also find two new variables. Those variables will be used to store the exact time when the race started (initialTime|) and the exact time when the current lap started (lapTime).

When the game is over, after the player finishes ten laps, _root will move to the “finish” frame where an information movieClip will be displayed.

4. OK! What we need to do next is determine whether the player has finished a lap or not, so we will add two movieClip (the red line on the right side) and check if the car “touched” this movieClip, and if it did, than you know that a lap is finished… hmm… not really :)

First of all the car will “touch” this movieClip for more than one frame. Maybe for two, maybe for ten, maybe for one hundred frames, you cannot determine this number because it depends on the car’s speed. And instead of increasing the number of laps with one, you will increase it with two, ten or one hundred laps, so the race will be ready quite fast.

The second problem, assuming that you solved the first one is that one player will go past the finish line (the red line on the right) and then return immediately to the same line and “touch” it again, increasing the number of laps even though the lap is not completed. This problem can be solved in a few ways but we will chose the solution that fixes both our problems: we will add a checkpoint (the red line to the left). This checkpoint will be placed somewhere around the middle of the race so that the player will lose more time returning to the finish line than he will lose by completing the lap. Of course if you want a more secured race you will add more than one checkpoint. You will be able to easily add more checkpoints after finishing this tutorial.

5. Open the actions window for the first frame of the “actions” layer. We have to new functions both related to timing the race – setTimes (calculates and sets the total race time) and setBestLap (calculates and sets the best lap time). We’ll take them one at a time and see what they do.

6. And now one more time (I promise this is the last time) back to the “step” function and let’s analyze the new lines.

7. That’s it :) Now let’s move on to the final graphic touches and see our completed game.

Finishing the game

1. The final graphic touches… Well, there’s nothing to explain here. You can express yourself in anyway and create graphics after your own taste.

Just remember to set the alpha of the green movie clip and the red movie clips to 0.

2. This is racing_part1_step4.fla file provided with this tutorial. Download it!

3. Remember that this is just a tutorial. You must work on it in order to build a really addicting game. In the next tutorial we will add opponents in the game. Until then, have fun building your Time Trial Racing Game ;)

And by the way my best lap time is 9.84 :D

And here ends Remus tutorial. I learned a lot from this tut and I will use it to improve the gameplay with some additions.

Meanwhile, give feedback to Remus and try to beat that n00b laptime!!

Rate this post: 1 Star2 Stars3 Stars4 Stars5 Stars (1,033 votes, average: 4.76 out of 5)
Learn how to make a successful commercial Flash game from a real world example: get the fully commented source code of Globez, a Flash game played millions of times which generated a four figure income. Limited copies available.

Get it now
Be my fan on Facebook and follow me on Twitter! Exclusive content for my Facebook fans and Twitter followers

This post has 458 comments

  1. Elmer

    on May 15, 2007 at 6:49 pm

    Nice tutorial man ;)

  2. Elmer

    on May 15, 2007 at 6:50 pm

    And by the way ;) my best lap is 9;72 :P:P

  3. N00b

    on May 15, 2007 at 9:07 pm

    I really appreciate the work hat goes into these tutorials, and they have definitely helped my development (seeong as I am a n00b).
    I’m currently working on a game like Madness Interactive, and I’ just making the firing character move!
    Much thanks,

  4. Michael

    on May 16, 2007 at 3:48 am

    Wow, awesome!
    I just love your tutorials, and hosting tutorials of others is just as cool. This tutorial definitely helps for when I will finally have time to pursue Flash!

    Love the end result, and just a quick run without even trying I got 9.90 for my best lap.

  5. gnark

    on May 16, 2007 at 4:23 pm

    Definitly a nice tute.. But to all of the above commenters..
    This is an exact copy of a gameSheep tutorial.. All credits go to them..

  6. N00b

    on May 16, 2007 at 6:05 pm

    Whoah! I just got 9.57!

  7. N00b

    on May 16, 2007 at 6:07 pm


  8. N00b

    on May 16, 2007 at 6:09 pm

    9.09 ^^

  9. Emanuele Feronato

    on May 16, 2007 at 6:19 pm

    hmmm maybe Remus should play a bit more to his games… ;-)

  10. Christian

    on May 16, 2007 at 6:47 pm

    omg…9;51 but it was like my 20th lap :[

  11. mango

    on May 16, 2007 at 7:58 pm

    8.51 =|

  12. sam

    on May 16, 2007 at 8:21 pm

    8.17 :)

  13. abhilash

    on May 17, 2007 at 5:59 am

    cool tut
    but I already have this tutorial and my best time is 7.52

  14. abhilash

    on May 17, 2007 at 6:02 am

    I am the winner with 7.52 laptime!!!

  15. Monkios

    on May 17, 2007 at 4:37 pm

    I know this is only a tutorial and there are bugs wich you did not solve but if a player goes in a wall in a 90 degrees angle, he’ll enter it slowly and be pushed ouside of the race.

  16. Ozper

    on May 18, 2007 at 4:09 am

    Where I add code for car

  17. mousey

    on May 19, 2007 at 4:52 pm

    amazing :p

  18. Dave

    on May 21, 2007 at 8:26 am

    Wow, nice tutorial.

    One thing, if you were to turn this into a real game, how would you address people going reverse on the track (crossing both check points still applies, but in reverse)?

    (I know you mentioned a part II, so if you address it there sorry :/ )

  19. Robin

    on May 21, 2007 at 11:32 am

    09:03 :)

  20. Gagan

    on May 22, 2007 at 9:04 am

    Please help! I can’t open any of the file with Flash Mx. Why? The error showed was “Unexpected File Format”.

  21. Sneddon

    on May 22, 2007 at 11:13 am

    MY Best Time Was 9:32

  22. Cecil

    on May 22, 2007 at 3:23 pm

    nice tutorial

  23. Cecil

    on May 22, 2007 at 3:26 pm

    I was wondering, whats the action script you would put on the car if you also wanted it to go to next frame when it hits something.

  24. Fraanske

    on May 23, 2007 at 9:31 pm

    Since FOREVER I wanted to create my own games, and with your excellent tutorials I am finally beginning to understand certain mathematics (a grade I suck at) Flash uses. Your code is very clear and by simple reading, even without the FLA’s, you made me understand so much more. Can’t wait to create games for! Thanx!

  25. Callum

    on May 25, 2007 at 8:55 pm

    W00p OMFGZORZWTH!11 :D 9:07 BEAT THAT :D

  26. And Mar

    on May 25, 2007 at 11:13 pm

    Great tute! (even if its not yours)

    To Cecil

    to make the car go to the next frame add code like this

    if (car.hitTest(terrain)){

  27. Gagan

    on May 28, 2007 at 9:41 am

    Help! Can anyone provide me the same tutorial file compatible with flash Mx( not ver 2004). I couldn’t open the file given here as it says “Unexpected file format”.

  28. Orlando

    on June 5, 2007 at 5:17 am

    Nice tutorial!! This is what I was looking for, specially because I starting with flash, specifically with Flash 9.
    After to check it and convert it to AS3, I could not find a way to predict a collision using localToGlobal method, which is very easy, So, I followed your advice to use trigonometry, and this what I got:

    function newPos(point:String,x0:Number,y0:Number,sign:Number):void{
    var hypotenuse:Number = Math.sqrt( Math.pow(x0,2) Math.pow(y0,2));
    var angle:Number = Math.PI-(this.car1.rotation*Math.PI/180)- Math.acos(sign*x0/hypotenuse);
    this[point].x = this.car1.x – sign*hypotenuse * Math.cos(angle);
    this[point].y = this.car1.y sign*hypotenuse * Math.sin(angle);
    newPos (“ref1″,-15,-20,-1);
    newPos (“ref2″,15,-20,-1);
    newPos (“ref3″,15,20,1);
    newPos (“ref4″,-15,20,1);

    where ref 1,2,3, and 4 are a circle movieClips I am using to see if positions are correct. In my case, I am putting four points in the corners of the car.

    I hope it can be useful for someone else.

    I forgot, just change car.x for car.x xSpeed and car.y for car.y ySpeed and you can check if there will be a collision.

  29. Orlando

    on June 5, 2007 at 6:35 am

    This is the same code but with little changes

    function newPos(point:Point,carRot:Number,sign:Number){
    var hypotenuse:Number = Math.sqrt( Math.pow(point.x,2) Math.pow(point.y,2));
    var angle:Number = Math.PI-(carRot*Math.PI/180)- Math.acos(sign*point.x/hypotenuse);
    point.x = -sign*hypotenuse * Math.cos(angle);
    point.y = sign*hypotenuse * Math.sin(angle);
    var newPoint:Point = new Point(-15,-20);
    newPos (newPoint,myRot,-1);
    newPoint.x = myCar.x;
    newPoint.y = myCar.y;
    myCar.point1 = newPoint;
    ref1.x = newPoint.x;
    ref1.y = newPoint.y;

    newPoint = new Point(15,-20);
    newPos (newPoint,myRot,-1);
    newPoint.x = myCar.x;
    newPoint.y = myCar.y;
    myCar.point2 = newPoint;
    ref2.x = newPoint.x;
    ref2.y = newPoint.y;

    newPoint = new Point(15,20);
    newPos (newPoint,myRot,1);
    newPoint.x = myCar.x;
    newPoint.y = myCar.y;
    myCar.point3 = newPoint;
    ref3.x = newPoint.x;
    ref3.y = newPoint.y;

    newPoint = new Point(-15,20);
    newPos (newPoint,myRot,1);
    newPoint.x = myCar.x;
    newPoint.y = myCar.y;
    myCar.point4 = newPoint;
    ref4.x = newPoint.x;
    ref4.y = newPoint.y;

    Remember ref 1,2,3, and 4 are just to see the collision points.

  30. thilak,india

    on June 7, 2007 at 10:24 pm

    very nice tutorial friend
    its really very helpful and very interesting

    thank you thank you very much

  31. Mike

    on June 10, 2007 at 7:54 pm

    7:43 :)

  32. cortina

    on June 12, 2007 at 3:27 am

    nice tutorial , thanks
    8.87 n_n

  33. tonius

    on June 20, 2007 at 9:44 am

    hi, this is a wonderful tutorial, however, I am really a beginner exploring actionscripts, could anyone advise me what IDE/compiler do I need to develop a flash game/program or do I need to purchase macromedia flash to do this?



  34. Frederik J

    on June 20, 2007 at 2:23 pm

    Hi tonius. Yes, you need macromedia flash. I’m not sure about it, but i think that there excists programs to write actionscript. But as i said, im not sure about it. Anyway, you can du it with macromedia flash :)

  35. Dan

    on June 28, 2007 at 5:29 am


  36. esteban

    on July 8, 2007 at 2:11 am


    there is a secret passage :O

  37. Drew

    on July 20, 2007 at 11:30 am

    i started using action script last week and started making games etc, i used to be a keen programer in ‘basic’ (well dated now lol) i found your site very very usefull to learn new code and put it into practice. i keep stumbling accross really difficult math problems then i look on your site and realise that the 30 lines of code i have written, can be swapped for 1 line of correct code lol. thanks

    if you have time take a look at my first game, there are glitches i know about lol, but its my first one.

  38. David

    on August 18, 2007 at 2:44 pm

    Brilliant, but how can you change the amount of steer depending on the amount of time that the player has kept down the left /right keys

  39. ???

    on August 27, 2007 at 7:46 am

    nice tutorial, but i had a question. i have an older version of flash and whenever i try to download the files it always says, “unexpected file type.” does anyone know how to see it or anything, cause it doesnt really work without it. nice tutorial though!

  40. ???

    on August 28, 2007 at 1:18 am

    oh yeah, and also i am trying to make a game where you are constantly going but when you click the person turns. im not sure how and any help would be great. or, you could make a tutorial on it. here is my inspiration:

    its a fairly simple game, but i would still love to know how to make it. thanks!

  41. computergeek67

    on September 3, 2007 at 9:50 pm

    Someone actually stole this game. They only changed on thing.
    and the second version that the guy made:

  42. RockStar

    on September 29, 2007 at 3:19 am

    The tutorial is awesome but does anyone know how I create a duplicate car & give the PC controlls to it so instead of a time trail its a vs PC game?

  43. Anthony

    on November 12, 2007 at 1:24 pm

    A great tute, thanks!

    I’ve been trying for the past three days to add a new hit test object.

    For example: A barrel and when you hit it, it plays a movieclip or sound.

    I’ve tried something similar to

    if (car.hitTest(barrel)){

    And created a clip and instance called barrel but it’s not working.

    Please help, it’s driving me crazy (pun intended)


  44. Randomguy

    on December 7, 2007 at 8:52 am

    Can you try to add nos for the next tutorial?
    Im trying to make and underground racing game.

  45. Rosy

    on December 13, 2007 at 10:02 pm

    hey nice tuterials….
    but i can’t open the download files on flash mx and i don’t know why ???

  46. connz

    on December 30, 2007 at 6:17 pm

    8.16 ;)

  47. shivesh

    on February 4, 2008 at 5:16 pm

    Hey I am 5.67.

  48. Owais

    on March 8, 2008 at 6:27 pm

    HI…….It’s fantastic….
    I really enjoyed…
    & this is also very good tutorial.. for students or any other person.
    i am really thankful to the peron..
    who make this coding..
    I want these types codings & tutorial..
    plz send me more tutorial or scriptings on my ID..which is
    plz peoples join me..
    & communicate about these types of softwares…
    thanks. Fantasticccc…….!

  49. Owais

    on March 8, 2008 at 6:36 pm

    HI… friends…
    I wil tel u..
    IDE means (Integrated development Enviroment)
    which we used in C++, fortron language…
    IDE can be say as.. that it is a working place where we write the scripts…
    C++ (blue screen) are also called IDE.

    and remaining… Compiler..
    it’s use for tranlation..
    compliler.. is a translator.
    can translate the program… machine language to human language…

    A common example of compiler is…
    If a person knows Arabic.. and another person knowz English…
    So here we use the compiler as a person..
    that knowz both language Arabic and English.

    and make conversion easy..
    so friend.. it’s ur question reply.
    i hope u will.. understand these topics now..thanks.. if u want contact ID is
    ome online from 6:30pm to 9:00pm fun.

  50. Owais

    on March 8, 2008 at 6:51 pm

    If i want a openent player..
    or a computer handed player..
    So what i use or what I add in this scriting?

    Ig someone have any answer of my Question..
    So plz send me scripting on.. My Id which is.. thanks
    i will be waiting for kind response.


    on March 27, 2008 at 12:25 pm

    YAY!!! I got 1.44 for one lap!!!

  52. Gregory Athons

    on May 28, 2008 at 1:07 am

    WHEN WILL PART 2 COME OUT! This tutorial came out over a year ago!!! How much longer will we have to wait before we know how to use computer AI in this tut!

  53. nick

    on June 2, 2008 at 6:34 pm

    How come whenever i try to download you files and open them in flash mx it says unexcepted file? Please Answer.

  54. Graham

    on June 8, 2008 at 2:42 pm

    I agree with Gregory!! I want to see some AI!

  55. bijoy

    on July 22, 2008 at 4:26 am

    sir this game very nice and good.pls tell me how to build AI for this game.

  56. me =]

    on July 28, 2008 at 10:29 am

    5/5, I actually also think AI is a fairly important subject to cover.

  57. zak

    on August 2, 2008 at 1:25 am

    yh its all good and well but what software do u use to make it on

  58. cman4321

    on August 4, 2008 at 8:56 pm

    My best lap is 9.14. Also, I love your tutorials.

  59. tutorialkirby

    on August 20, 2008 at 11:27 pm

    hey emmanuelle.i like the result of this tutorial but my flash cant load the file cuz its not the right format.i would be nice if you could make the same tutorial but beggining at the really start.and when will we know how to add ai to our making one and poeple dont like it becuz theres no cpu.please help me.

  60. Van meerhaeghe

    on October 15, 2008 at 2:55 pm

    hello everyone !

    I’m trying to make a racing game with your example, i have the solution for an Ai but i can’t :

    – skid the car in a turning point
    – know in live what is the place of the car (1st, second, etc.)
    – have a realistic collision with other cars…..

    You can find the begin of my job here :

    If someone can help me !

    Manu (sorry for my bad english)

  61. sam

    on November 3, 2008 at 3:04 am

    having trouble with the “PLAY AGIAN” button can you help me thanks copper

  62. b2k

    on November 18, 2008 at 4:53 pm

    Saved my Day :D
    Thanks man!

  63. sathoro

    on December 1, 2008 at 5:36 am

    7.34 :)

  64. MaRgA

    on December 5, 2008 at 6:41 pm

    nice one it heplped me a lot!!! :D

  65. MaRgA

    on December 5, 2008 at 6:43 pm

    This is great, i was wondering how to add more maps to select to play…

  66. jus

    on December 9, 2008 at 5:32 am

    cool! I wish you could make a tutorial on how to make racing games where the backround rotates instead of the car…

  67. theblues

    on December 11, 2008 at 6:54 am

    my mannnnn… ouhh, greatt.. cool man. thanks for this tutorial.. I take it home okay.. :)

  68. George

    on December 17, 2008 at 2:16 pm

    best 9:27 wicked game used tutorilal to make wicked game go to

  69. liam

    on December 18, 2008 at 3:28 pm

    can someone email me some script i can use for cars because i cant copy this one.

  70. Kiwi

    on December 23, 2008 at 10:45 pm

    7.30 :P

  71. Eskalibur

    on December 29, 2008 at 11:52 am

    Thanks very much. I can’t say more. You’re AWESOME!

  72. Anthony

    on December 30, 2008 at 4:53 am

    My best lap was 7.17
    Thanks for this tutorial.. although I am a noob and only get some of it… I just need to learn the ariables and how to code haha.

  73. d

    on January 2, 2009 at 11:22 pm

    great tutorial .. & hehe i guess i take the gold , best lap so far: 6.26

  74. eichwulf

    on January 4, 2009 at 1:12 pm

    This is great, I used it to make my own racing game. I deleted a lot of code – especially about collision with the ground – it’s not correct, I just wrote to slow you down when you are on the ground.

  75. Verena

    on January 10, 2009 at 5:41 pm

    this is a really nice tutorial.

    Well, i need a version in AS3. Is there somebody, who can help me or is there sombody, who rewrite the program already?

    It would be very nice!!


  76. Verena

    on January 10, 2009 at 5:49 pm

    sorry, I forgot to place my adress for sending results :)

  77. Yokohama

    on January 16, 2009 at 5:59 pm

    i got 8.91 second RECORD!!!!

  78. Umer

    on January 24, 2009 at 11:20 pm

    It Was Just what i was looking for, i love it. But there are some loop holes which can be fixed once you get off from computer and think about it, You know when you sit on computer there are too many distractions, right? Anyway nice new site’s layout. Congrulation,

    Please Make New Site address instead of, it’s hard to remember and your site is even harder to be searched it just doesn’t showup in search list. So have another domain name Like or something like that SInce you are always bragging about it so i figured that would suit your site, huh.

  79. Julian

    on January 26, 2009 at 4:49 am

    This is great and all but i want to make my own racing game not somebosy else’s.


    on February 7, 2009 at 12:54 am

    Ha 8.70 Beat you all!


    On another note, Can I make this game then put my sponsor page infront of it and distribute it?

  81. jay

    on February 8, 2009 at 5:59 pm

    7.10 secs. *SNAP*

  82. fredz

    on February 22, 2009 at 5:23 pm

    nice i like it!

  83. Bonehead23

    on February 24, 2009 at 7:59 pm

    I really like this, its help me understand AS2 so much more. I am trying to work on additional elements to this game like places were you can speed up faster then the max speed and other things like going smaller and larger and so on. Could you guys help me with this??

  84. Kingz

    on February 28, 2009 at 9:57 pm

    7.47 :P

  85. grelek

    on March 3, 2009 at 6:32 am

    hey Verena are you still looking for a AS3 version?
    i started making a racing game using this tutorial, but i’ve since added oppenents and gears and a vertical panning course.
    its more like a drag racing game at the moment, but i’ll add in some corners later on :P


  86. jayr

    on March 11, 2009 at 6:23 pm

    hey..tnx for your tutorial 8 helps a lot..

  87. pepens

    on April 5, 2009 at 4:34 am

    can you make it drifting ? coz i want to make a drifting flash game. thx for your tutorial. :D

  88. as3 version

    on April 5, 2009 at 8:27 pm

    how about a as3 version. i tried to make one on my own with limited success. what is getting passed with “who”? there’s no variable called it and .code i don’t think applies to as3 either.

  89. Henk

    on April 8, 2009 at 12:12 pm

    Hi, nice game only i can’t download de 4th file
    can someone send it to my mail?


    my score 8.54

  90. Dennis v Gerwen

    on April 8, 2009 at 1:27 pm

    Hi i can’t download file 4 can someone send it to my mail please

    (my score is 8.54) :P


  91. gamenetwork

    on April 9, 2009 at 5:47 pm

    is there any certain reason for not post my messages ?

  92. gamenetwork

    on April 10, 2009 at 6:04 pm

    Artificial Inteligent Code here :

  93. tom

    on April 14, 2009 at 7:49 am

    my best lap was 9.15

  94. person

    on April 18, 2009 at 9:41 pm


  95. Joe

    on April 20, 2009 at 11:51 pm

    OH YEAH 7.09 WOOO!

  96. vagina village

    on April 22, 2009 at 9:09 am

    i got a 6:52 on the game

  97. The B

    on April 25, 2009 at 9:15 pm

    .99 Sec take that!

  98. racerx11080

    on April 27, 2009 at 11:56 pm

    is there AS3 version of code of this game anywhere????

    please help!!!!

  99. 35+ Flash Game Development Tutorials & FLA Files | Showcases |

    on April 28, 2009 at 8:36 am

    […] 18. Flash Racing Game Tutorial […]

  100. cindy

    on May 3, 2009 at 1:35 am

    gracias me sirvio muchoooo y aprendi muchooo

  101. Wibble

    on May 3, 2009 at 7:36 pm

    Would it be possible if you could make an extension for this tutorial that tels us how to add a CPU?

  102. Antony

    on May 4, 2009 at 9:15 am

    My best lap time is 5:98

  103. Billy

    on May 4, 2009 at 6:14 pm

    7.40 ladies and gentlemen beat that

  104. Alex

    on May 7, 2009 at 7:35 am

    Tal vez no entiendan porque hablo español, pero sólo quería aportar que el juego tiene un bug, para que el programador lo tenga en cuenta.
    Si doy la vuelta completa en reversa me la cuenta como una vuelta normal.


    I’m from Colombia, however i will try to explain in english:

    Only for information to the developer:

    If i drive in reverse one complete lap, it will count too.

  105. dave

    on May 15, 2009 at 1:27 pm


  106. kuralotus

    on May 15, 2009 at 8:12 pm

    6.89 bitches

  107. kuralotus

    on May 15, 2009 at 8:12 pm

    6.89 beat that

  108. alex

    on May 19, 2009 at 5:56 pm

    i’m the best. my time is 6.80 seconds

  109. Tom

    on May 20, 2009 at 5:32 am

    How might I modify the game so that you don’t have to continually press the up arrow to maintain forward motion? I’d like to be able to press the up arrow once, have it start moving slowly, then with each successive press, the forward motion would accellerate; same for the slowing down using the down arrow.

    Any help is appreciated.


  110. steve

    on May 22, 2009 at 1:38 am

    I’m interested to know how to add a second player.

  111. Nightrider

    on May 29, 2009 at 10:56 pm

    @Tom: just change this line
    if (Key.isDown(Key.UP) && this[“speed”+who]<_root.maxSpeed)

    into this
    if (this[“speed”+who]<_root.maxSpeed)

  112. John

    on June 1, 2009 at 3:53 pm

    5:51 secs!

  113. Lars

    on June 2, 2009 at 11:25 pm

    5:48 secs, try to beat that one!

  114. Mauricio

    on June 3, 2009 at 6:40 am

    Gracias amigo… Que buen tutorial!

  115. Zsole

    on June 4, 2009 at 12:22 pm

    Thank u!

  116. joe

    on June 14, 2009 at 2:03 am


  117. Octavian

    on June 14, 2009 at 4:39 pm


  118. Bob

    on June 16, 2009 at 3:38 am

    4:84 beat that. :)

  119. yue

    on June 23, 2009 at 5:04 pm

    why there’s no link for download, racing part1 step4???
    i cant make my own game,,,huaaa,,,help me,,

  120. Pokenerd

    on June 23, 2009 at 5:35 pm

    8.95 :D :D

  121. meh

    on June 23, 2009 at 8:55 pm

    NaN, it glitched

  122. Flash Tut. » Create A Flash Racing Game

    on June 28, 2009 at 6:47 am

    […] Read The Tutorial […]

  123. Evan

    on June 29, 2009 at 9:14 am

    Thanks for your tutorial. I really appreciate it! XD.

  124. give it a try

    on June 29, 2009 at 11:09 pm

    wooo!!! 7.56

  125. Dude

    on July 9, 2009 at 8:41 pm


    Very nice tutorial btw. all of them are!

  126. a person

    on July 13, 2009 at 4:54 pm


    oh yeah i’m awesome

  127. Thais

    on July 14, 2009 at 4:31 pm

    Não consigo fazer download do arquivo Parte 2.
    Pode me eviar?

  128. marty

    on July 15, 2009 at 12:36 pm

    realy it will be a good game reaaaaaaaaaaly

  129. jotae

    on July 18, 2009 at 8:08 am

    Great Work!

  130. potty

    on July 21, 2009 at 10:49 am

    Very cool tutorial though I got a question! How simple is it to apply items into the game? such as oil slick? turbo bottles and such? :) Been racking me brains out to have item drops on such a simulation…

  131. chris

    on July 30, 2009 at 10:47 pm


  132. Number One

    on July 31, 2009 at 12:17 pm

    Wow, you guys must suck if you can’t get under 8.00. FTW 6.73!

  133. Vinay

    on August 12, 2009 at 1:55 pm

    Hi nice tutorial thank u so much..

  134. ty

    on August 14, 2009 at 12:16 am

    i’ve always wondered how to make one of those side veiw dirt bike games were you travel through
    inclines and declines trying not to fall over, I
    mean it’s so complicated, if you have one wheel on
    a higher or lower level the whole movieclip rotates to a certain degree dependant on the y and x axis of both wheels.

  135. Flash Tutorial Dude

    on August 14, 2009 at 2:33 pm

    Nice tut! i got 8.73 on 2nd lap, but can’t beat it now :p

  136. henrik

    on August 22, 2009 at 9:40 am

    yea 7.57 =)

  137. ask

    on August 25, 2009 at 7:59 am

    why can’t run fla file?

  138. needaask

    on August 25, 2009 at 8:01 am

    why i cant run fla file?

  139. ProfeaX

    on August 30, 2009 at 1:07 pm

    My best time is 8.50 :)

  140. Tim

    on August 30, 2009 at 11:26 pm

    9.90 :P
    Great tutorial, this is very helpful!

  141. barenbaren

    on September 16, 2009 at 9:12 am

    lol. great tutorial. i’m working on it. btw, my best is 08:53. lol :D

  142. Niven

    on September 19, 2009 at 6:51 pm

    Hey can anyone email an AS3 version of this tutorial?

  143. sam

    on September 19, 2009 at 10:10 pm

    hi i want to ask u how did u create the stepper and by the way good tutorial

  144. Tweetie076

    on September 23, 2009 at 10:02 am

    @Niven: Download > Open with..

    Couldnt be easier.. Atleast, works for me.


    Good tute!

  145. Aaron

    on October 16, 2009 at 12:37 pm

    Just did a lap in 7:49

  146. Iska

    on October 23, 2009 at 4:39 am

    Hello, what program do you use to create this game?

  147. Cirus

    on October 26, 2009 at 6:22 pm

    I’ve done 8.44! xD

  148. hassan

    on October 26, 2009 at 6:32 pm

    best game ever

  149. Ansis

    on October 27, 2009 at 12:49 pm

    7.33 ;)

    It is the best tutorial I’ve ever seen :) I mean the style is consistent and the explanations given for the math behind it are easily comprehensible :)

    I sort of imagine, how to put together some AI cars that follow waypoints on the map, but I would surely appreciate it, if you could make and post the second part of this tutorial. I really want to see, how it can be done in a neat and fluent coding style :)

  150. Karl

    on October 27, 2009 at 1:12 pm

    Really nice tutorial – Thanks!…
    I would love to learn about adding a multi player option or a play against the computer option :-)

    where can I find Part 2 of this Tutorial?

  151. massi93

    on October 30, 2009 at 6:40 pm

    Nice tutorial. My best 7.27..

  152. Kurtis

    on November 2, 2009 at 7:58 pm

    Thanks for the Tut.. very interesting and helpful

  153. gary

    on November 5, 2009 at 2:00 am

    where is step1 part4?
    can u send me on my email
    hopefully i can build my own games!!

  154. khan

    on November 6, 2009 at 9:30 pm

    plz tell me how can i add text like START GO GO etc

  155. Brandons Master Game

    on November 6, 2009 at 10:29 pm

    this is the best game ever

  156. gary

    on November 7, 2009 at 4:32 am

    how can i change the race track background pls need help!!i need tutorial

  157. NAASPER

    on November 12, 2009 at 2:18 pm

    hey! man, what a very nice tutorial, i rily liked it.

  158. patrick

    on November 16, 2009 at 9:46 pm

    Is there a part 2 please link please???

    @60.Van meerhaeghe on October 15th, 2008 2:55 pm

    [quote]hello everyone !

    I’m trying to make a racing game with your example, i have the solution for an Ai but i can’t :

    – skid the car in a turning point
    – know in live what is the place of the car (1st, second, etc.)
    – have a realistic collision with other cars…..

    You can find the begin of my job here :

    If someone can help me !

    Manu (sorry for my bad english)

    How do you make your circuit move whit te car???

  159. Daniel 2k9

    on November 18, 2009 at 4:23 am

    awesome tutorial.. thanks very much.. i’m not newbie now :))

  160. jefar

    on November 21, 2009 at 6:28 pm

    8.71s very good tut

  161. Aaron

    on November 23, 2009 at 2:58 pm

    7.04 =D

  162. Aaron

    on November 23, 2009 at 3:02 pm

    Lol, just got 6.69 after that

  163. rovzx

    on November 29, 2009 at 3:37 pm

    my best is 00.08.20 :P

  164. asd5

    on December 8, 2009 at 8:33 pm

    my best time is 00.07.77

  165. dema

    on December 10, 2009 at 7:05 am

    4.81 seconds got

  166. Asif

    on December 11, 2009 at 7:57 am

    thanks man………ur information was use full to me…to complete my project…….

  167. Asif

    on December 11, 2009 at 7:59 am

    if u have any other small tutorial for creating some other mobile games ..plzz send an mail to my ID plzzzzzz

  168. cammyj3

    on December 15, 2009 at 7:34 pm

    this is an awesome tutorial 5*

    i am trying to put this game into my own project now for college presentation but i cannot find where to put the stop() code in to make the game continue and not go to the next scene. the game starts by ready, set, go and after go, it continues to the next scene… this is very frustrating! please would you assist me as soon as possible. im sure other people are suffering from the same issue.

    thanks alot!

  169. Maximum speed is 4.81 seconds

    on December 15, 2009 at 7:34 pm

    Maximum speed only 4.81 seconds.
    You can try.

  170. Molly

    on December 15, 2009 at 8:24 pm

    This was amazing! Thank you so much!

  171. 20 Best Flash Game Tutorials to Create Your Own Flash Game | Dzine Blog

    on December 28, 2009 at 8:47 pm

    […] 8. )Racing Game […]

  172. ziko

    on December 30, 2009 at 12:33 pm

    how do we make same things about hit part with actionscrtip 3.0 using trigonometry !!

  173. creator

    on December 30, 2009 at 4:47 pm

    Cool, but my best lap time 10.34 :(

  174. jonas

    on January 1, 2010 at 12:04 pm

    iflipante…. gracias amigo :)

  175. keethakaran

    on January 2, 2010 at 11:53 pm

    i m do in project regard highway codes.
    this is project outline its game based learning, therefore user can learn by enter game.
    game outline function…….
    user login.
    user progress level(progress will show 5 different section in highway code
    example like motorway section score 2 out of 5.

    game like when car move near sign code question will pop up and answer with in certain time or it will skip to another question

    do have an idea to improve and development help for this project

  176. Recursos para Crear nuestro propio juego en Flash | Tutoriales de Flash, Animación 2D, Regalos .fla, y mucho mas….!

    on January 8, 2010 at 4:46 am

    […] Create a Flash Racing Game Tutorial […]

  177. tyler

    on January 10, 2010 at 1:03 am

    where can i find part 2?

  178. Hi

    on January 10, 2010 at 5:39 pm

    9:16 =p

  179. harry

    on January 10, 2010 at 9:25 pm

    ok i have made a new track and when i play it i can drive through the actual track and it doesnt push me back could someone help me find where abouts in the code i have to change so my second track doesnt let you drive through it as if it is invisible.

    plz mail me at
    or post a repley

  180. gofish

    on January 10, 2010 at 10:19 pm

    Good Tutorial :) I got 7:30 exactly ;)

  181. harry

    on January 10, 2010 at 10:22 pm

    fixed it lol

  182. eagrapho » 20 Best Flash Game Tutorials to Create Your Own Flash Game

    on January 11, 2010 at 3:09 pm

    […] 8. )Racing Game […]

  183. Melih Uçar - » En iyi flash oyun olu?turma dersleri

    on January 12, 2010 at 4:00 am

    […] Yar?? Oyunu – demo – […]

  184. Mario Games

    on January 13, 2010 at 9:31 am

    Great Tutorial :) Keep up the good work .

  185. Andrii

    on January 14, 2010 at 5:00 pm

    Thanks a lot!
    Awesome tutorial, quite useful

  186. Kalashnikova

    on January 18, 2010 at 7:09 pm

    Hey, nice tutorial, I just have one basic question, what kind of flash player/editor do you use? I want to get one but I don’t know which one would be best for making games, suggestions would be greatly appreciated.
    Btw, I also got exactly 7:30 for best lap

  187. ?????20???Flash?? | ??????

    on January 20, 2010 at 9:02 pm

    […] 8. )Racing Game […]

  188. Daniel

    on February 10, 2010 at 6:52 pm

    todo es super vacano pero ¿como se llamas el programa????

  189. Davi

    on February 11, 2010 at 4:51 pm

    8.10 Oh Yeah!!! :D :D

  190. benten oyunlar?

    on February 20, 2010 at 10:20 am

    Nice, very good post thanks admin.

  191. Flash Game Development Tutorials & FLA Files

    on February 25, 2010 at 3:32 pm

    […] Flash Racing Game Tutorial […]

  192. Iron Stark

    on February 27, 2010 at 12:26 pm

    You are al slow, i got 7 : 15

  193. me

    on March 1, 2010 at 2:58 am


  194. ricardo sousa

    on March 1, 2010 at 6:11 pm

    6.87 fracos –‘

  195. me

    on March 4, 2010 at 12:09 am

    6.10 :-)

  196. 20 Best Flash Game Tutorials to Create Your Own Flash Game | Design Trip Blog

    on March 6, 2010 at 6:25 pm

    […] 8. )Racing Game […]

  197. cleo

    on March 24, 2010 at 10:53 am

    How about the 2 players? the key control of the arrow keys and using w,a,s,d control? plss answer

  198. Anonymous

    on March 25, 2010 at 4:07 pm

    This tutorial looks interesting, but is there a way you could revise it to make it compatible with Flash CS4?

  199. Tutorials on car driving.. « Final Major Project

    on April 1, 2010 at 10:48 pm

    […] of the first websites was This showed how to create a racing game along with boundaries. But one problem I had was coming to […]

  200. john

    on April 8, 2010 at 10:15 pm

    how would you make it like the game driftrunners instead of top-down?

  201. GreenPuffle92

    on April 18, 2010 at 9:35 pm

    I Can’t Download racing_part1_step4.fla and WHERE’S PART 2!?

  202. Zetsu

    on April 19, 2010 at 12:18 pm

    wheres step 4 download? cant seem to find it anywhere -.-“

  203. 20??????????flash??????? | ??????

    on April 23, 2010 at 3:38 am

    […] 8. )Racing Game […]

  204. Jamie

    on April 28, 2010 at 8:19 pm

    1.53.46 :)

  205. sachin

    on April 29, 2010 at 7:06 am

    thats it im the king yay-1st place time-0.26

  206. God

    on May 1, 2010 at 6:46 am

    no bullshit, 7.47! i’ve been doing it for like 10 minutes

  207. Mighty

    on May 5, 2010 at 3:55 am

    i just got 8.02 :)

  208. Hillbilly 208

    on May 6, 2010 at 10:50 pm

    wat program do you use?

  209. Fat Albert

    on May 7, 2010 at 3:06 pm

    Which flash is this for?
    and would it work in flash mx??

  210. menan05

    on May 13, 2010 at 3:27 am

    how to create a lan connection in flash?

  211. mikle

    on May 14, 2010 at 8:43 pm


  212. ryan

    on May 17, 2010 at 4:14 am

    my best lap time is 00.08.87

  213. Bilgi Yar??mas?

    on May 18, 2010 at 5:28 pm

    5.68 omg :)))

  214. Azhar

    on May 20, 2010 at 4:53 pm

    Nice tutorial…….. Hope u’ll keep same work goin in future and provide lots of such stuffs
    God bless u…………. keep coding
    Enjoy n take care………… once again thanks for guidance and for great tutorial

  215. Bilal

    on May 20, 2010 at 4:55 pm

    What a way to start and complete this game!!!!
    Nice tutorial…….. Hope u’ll keep same work going in future and provide lots of such stuffs
    God bless u…………. keep coding
    Enjoy n take care………… once again thanks for guidance and for great tutorial

  216. XD

    on May 22, 2010 at 6:50 pm

    By any chance… have you worked with Game Maker before?

  217. PA

    on May 24, 2010 at 3:49 pm

    but lap finished same if car go forward and car go back

  218. Sudeep Acharyaq

    on May 28, 2010 at 6:21 pm

    Nice tutorials with easy steps thank you.

  219. 20 Best Flash Game Tutorials to Create Your Own Flash Game | | DzineBook

    on June 4, 2010 at 7:18 pm

    […] 8.) Racing Game […]

  220. vlatko

    on June 10, 2010 at 2:27 pm

    Were is defs

  221. vlatko

    on June 10, 2010 at 2:31 pm

    I like to create a game but are no were is defs and wath is it

  222. atomic robo kid

    on June 11, 2010 at 1:41 pm

    Hello all. This particular tut originally made by GameSheep is fantastic. Much enjoyed. It’s very intuitive if you’re quite comfortable with Flash.

    My only concern is how to add AI opponents. of course I know it’s been done and some of the results are equally as fantastic. Did you lot see these? and
    by others users. Amazing. I was impressed because I would like to implement something like that. HOW????

    Please help me.


  223. atomic robo kid

    on June 11, 2010 at 1:51 pm

    @ gamenetwork

    hello. I tried to download your carTableDetail.rar file at this address >> file on your website but all I get is un-readable code which seems to have the extension file type of a .RAR (compressed) file. It looks like the binary source code but how do i use it please?

    Because you’ve managed to solve the AI issue, I think virtually everyone here would be grateful. It’ll also make the original tutorial complete since no one can find the “GameSheep Car Racing Game – PART 2 – Adding Opponent Cars”. Please re-upload the FLA sourse file(s) for the version with opponent cars on your website (please post link here).

    Cheers mate.

    The Atomic Robo Kid

  224. atomic robo kid

    on June 11, 2010 at 1:58 pm

    I tried to download your carTableDetail.rar file at this address >> file on your website but all I get is un-readable code which seems to have the extension file type of a .RAR (compressed) file. It looks like the binary source code but how do i use it please?

    Because you’ve managed to solve the AI issue, I think virtually everyone here would be grateful. It’ll also make the original tutorial complete since no one can find the “GameSheep Car Racing Game – PART 2 – Adding Opponent Cars”. Please re-upload the FLA sourse file(s) for the version with opponent cars on your website (please post link here).

    Cheers mate.

    The Atomic Robo Kid

  225. Alexandre Colella

    on June 13, 2010 at 11:55 pm

    Can you make an AS3 tutorial like this? :)

  226. Akhilesh

    on June 16, 2010 at 11:26 am

    Thanks!! such a nice tutorial……

  227. Create a Flash Racing Game Tutorial – AS3 version - Emanuele Feronato

    on June 16, 2010 at 5:41 pm

    […] Create a Lightbox effect only with CSS – no javascript neededFlash game creation tutorial – part 1Create a Flash Racing Game TutorialFlash game creation tutorial – part 2Make a Flash game like Flash Element Tower Defense – Part […]

  228. Leirbag4

    on June 17, 2010 at 9:53 am

    Nice tutorial!!! You´re a master!

  229. Oyunlar

    on June 18, 2010 at 1:36 pm

    thanks this for good tutorial dude.

  230. aaaaa

    on June 19, 2010 at 8:24 pm

    howwwwwwwwwwwwwwwwwwwwwwwwwwwww do i move my car

  231. aaaaa

    on June 19, 2010 at 8:26 pm

    i cant play what tutorial goes in witch??????????????????????

  232. tutorial : making game flash “racing game” « for better future

    on June 24, 2010 at 5:03 pm

    […] PDRTJS_settings_2036579_post_68 = { "id" : "2036579", "unique_id" : "wp-post-68", "title" : "tutorial+%3A+making+game+flash+%22racing+game%22", "item_id" : "_post_68", "permalink" : "" } this tutorial explain about how to make racing game : tutorial : click me […]

  233. Rafix

    on June 25, 2010 at 7:18 pm

    When i downloaded first fla file and open it. I got format error. Do anybody know how to fix it? Please.

  234. Thomas

    on June 26, 2010 at 1:11 pm

    Well, I’ve watched a lot of your tuts and I have to say you’re great. They’re all really helpfull. So is this one!

  235. Jamee

    on July 2, 2010 at 10:11 pm

    7.73 is my best lap time. thanks for the tutorial!

  236. Nile

    on July 7, 2010 at 2:21 am

    PLEASE HELP!!!!!!!!!How do i set the alpha to zero?\
    & when i customize the graphics of the symbol it slows my car down!

  237. Ado73

    on July 7, 2010 at 5:07 am

    Cuando le doy al boton “Play Again” no hace nada, es como si el boton no tubiera acciones. ¿que hago?

  238. UnitedRepublix

    on July 10, 2010 at 12:39 pm

    My time was 00:08:27 :P

  239. chris

    on July 15, 2010 at 8:45 pm

    Great tutorial, im needed some help im a propper noob at this, i’ve followed the tutorial tested the game and got it working but what i need to know is how to save the game to be play on a website and how to put the game on my website?

  240. chris

    on July 15, 2010 at 8:47 pm

    forgot to mention i haved saved the game as .swf but when i open the game i doesnt work??

  241. Fenix

    on July 23, 2010 at 6:11 pm

    Guys, how can i get more real physics? For example, drifts, normal acceleraton, braking, etc.

  242. Pat

    on July 25, 2010 at 3:50 am

    idk….thats exactly what i need too

  243. Pat

    on July 25, 2010 at 3:51 am

    and how can i make other cars racing me and adding the position?

  244. fakeoff

    on July 26, 2010 at 9:09 pm

    lol my best lap : 0.00 :O , :)) 8:50 ^^

  245. fakeoff

    on July 26, 2010 at 9:12 pm

    now 8:33 :D

  246. Fenix

    on July 27, 2010 at 12:07 pm


  247. Fenix

    on July 27, 2010 at 12:09 pm


  248. Create a Flash racing game – Flex version - Emanuele Feronato

    on July 30, 2010 at 5:12 pm

    […] Create a Lightbox effect only with CSS – no javascript neededFlash game creation tutorial – part 1Create a Flash Racing Game TutorialFlash game creation tutorial – part 2Triqui MochiAds Arcade plugin for WordPress official pageMake a […]

  249. juib

    on August 3, 2010 at 5:10 am

    I would recommend a wall at the edge of the map because otherwise (although it is a little difficult) the car can leave the map completely…

  250. Adi

    on August 13, 2010 at 9:09 pm

    This game tutorial is the best, thnx for deatailed lesson.

  251. lulu

    on August 15, 2010 at 6:44 pm

    2 questions..

    1) how to change the code into 1 player.. without “check to see if the car in question is controlled by the player or by the computer”

    2) how to change the lap from 10 laps to only 1 lap??

    helppp pls… pls pls pls~~ :(

  252. Mum

    on August 16, 2010 at 3:43 am


  253. Formig-Racer « Leandro MOTENAI Ribeiro

    on September 7, 2010 at 12:25 am

    […] a parte, o Formig-racer foi feito seguindo um tutorial do site da Emanuele feronato, que a principio era de um jogo de corridas com carrinhos e eu resolvi dar uma […]

  254. » Create a Flash racing game – Flex version - Complete listing Tools and resorces for the ultimate web developer

    on September 9, 2010 at 4:18 am

    […] Lombardi is a brazilian Flex programmer who decided to rewrite the code you can find in the original post for Flex […]

  255. SB

    on September 16, 2010 at 3:02 am

    Nice tutorial.

  256. virender jaiswal

    on September 30, 2010 at 9:14 pm

    good man this is amazing

  257. lizi

    on October 7, 2010 at 3:52 pm

    great tutorial!!! thank you :-)

  258. Kenneth

    on October 16, 2010 at 11:36 am

    Nice work:) found your tutorial through google. I’m interested in creating a physic based bike riding game. Wondering if there is a tutorial about such type of game.

  259. yukg9

    on October 21, 2010 at 3:28 am

    i got 5.09

  260. @severito

    on October 21, 2010 at 11:40 pm

    My time was, 00:06:27 I need to practice…

    Great blog.


  261. matotej

    on October 22, 2010 at 8:04 am

    Great tutorial!

    My best lap is 6:83. You just have to drive full gas and with no mistakes.

  262. Shadow

    on October 26, 2010 at 10:25 am

    my time is 09:41 – beat that!

  263. Kamote

    on October 28, 2010 at 6:30 pm

    mine is 5:96 ^^


    on October 30, 2010 at 10:57 pm

    Where is the f***ing second part???!!!

  265. Flash game tutorial: corsa automobilistica

    on November 16, 2010 at 1:03 am

    […] Provate a costruire il vostro circuito automobilistico anche voi, seguendo questo tutorial flash. […]

  266. JK

    on November 18, 2010 at 6:37 pm

    I too am having problems with the “Play Again” button. How do you get it to work?

    Otherwise it is an amazing tutorial. Thanks a lot, I am using it to teach Flash in my class. Thanks.

  267. Connor

    on November 21, 2010 at 5:34 pm

    i am a complete noob and i cant understand a poo of what any of this is. although i did enjoy the game :). i got stuck ate the start. what program do you use to open the .fla file?

  268. Jogos Gratis

    on November 23, 2010 at 8:28 pm

    I loved this game. Is there a way to add more cars to the game to complete against mine?


  269. Coolio

    on November 24, 2010 at 5:11 pm

    7:11:90 <- 'best score'

  270. Matteo

    on December 19, 2010 at 12:17 am

    Please take a look at my new flash game:

    FLA source included

  271. somethin

    on December 20, 2010 at 12:23 am

    wdf is this type of flash game it is so retarded

  272. Lintang

    on December 25, 2010 at 4:40 am

    You’re smartest man

  273. Flash Game Development Tutorials & FLA Files | Cruz3N Blog

    on December 26, 2010 at 7:32 pm

    […] Flash Racing Game Tutorial […]

  274. ebrahim

    on January 4, 2011 at 10:00 am

    hi guys can anyone help me please , how i can full screen the game

  275. Kraig

    on January 8, 2011 at 4:35 pm

    13 SECS!!

  276. Ygr3ku

    on January 10, 2011 at 2:11 am

    i did 8:37 and working on it. anyway, nice tutorial, nice game. now i develop some game ideas, if you have any, please reply.

  277. Tobi

    on January 12, 2011 at 2:15 am


    i like it, but my flashmx says “Unexpected file format”



  278. Héctor

    on January 17, 2011 at 7:48 pm

    7:39 :D. Nice tutorial
    Very useful to start a game.

    Thnx :)

  279. Jimbo

    on January 18, 2011 at 5:56 pm

    “if (Key.isDown(Key.SPACE) && this[“speed”+who]<_root.maxSpeed) {
    this["speed"+who] += _root.maxSpeed;"

    To actions

    FOR A BOOT!!!

  280. Emil

    on January 19, 2011 at 12:17 pm

    Thanks for the tutorial, I’m a noob at flash, but I’ve learned a lot from trying and failing at modifying this racing tutorial. However I’m quite stuck at 2 things:

    1. I want to have acceleration also on the reverse, how can I add this?

    2. I want to make the collisions more instant. I don’t want the car to slowly run into the wall like it’s jelly. When the car hits a wall straight on, I want it to instantly stop. And when the wheels just slightly strikes the wall I’d like it to slow down, not be able to sink more into it.
    How do I go about doing this?

  281. Spelletjes

    on January 21, 2011 at 9:48 am

    May i use the fla with my own logo on it?

  282. Alexander

    on February 3, 2011 at 12:44 am

    07.60 is my best lap :)

  283. vimal

    on February 10, 2011 at 6:41 am

    i know only arrow keys to move……..can u teach the turn keys

  284. Illusionist

    on February 10, 2011 at 2:27 pm

    07.47 !!!!!

  285. help

    on February 14, 2011 at 8:45 pm

    i dont know what is step function please help me

  286. as3feeder

    on February 14, 2011 at 8:48 pm

    what is step function , thank you

  287. billy bob

    on February 18, 2011 at 1:54 am

    my best time is 7:23 suckers:P

  288. pranay

    on February 22, 2011 at 11:20 am

    Hi! nice game but where is the second part of it with opponents

  289. ' '

    on February 26, 2011 at 8:00 am


  290. zel fernandez

    on February 27, 2011 at 6:43 am

    where can i find the step 4? it’s not highlighted, there is no link. thanks for the response.

  291. Theaveragejoe32

    on March 4, 2011 at 8:07 pm

    my best lap was 8:57 :D

  292. 11+ Hand-Pick Step By Step Flash Game Development Tutorials -

    on March 6, 2011 at 3:51 am

    […] Flash Racing Game Tutorial […]

  293. Carlos

    on March 10, 2011 at 11:32 am

    hi i want to ask u how did u create the stepper and by the way good tutorial

  294. Jude

    on March 10, 2011 at 9:58 pm

    by the way 6,74sek.

  295. Jia Jun

    on March 12, 2011 at 4:52 am

    Awesome!!! Thanks a lot. :D

  296. regh

    on March 13, 2011 at 1:52 am

    hello! thank you very much for the tutorial! ^_^
    it’s helped me quite a lot for my project :3

  297. OmegaZX

    on March 13, 2011 at 12:35 pm

    Best lap 9.60 ;)

  298. henk

    on March 16, 2011 at 4:45 pm

    08.07 best time of all i think i restarted 4 times.

  299. Trenton

    on March 24, 2011 at 6:33 pm

    i like the wesite and the game. the only problem im havings is the play again button and i can’t find your racing_part1_step4.fla download. so can you send it to me please

  300. diego

    on April 2, 2011 at 2:52 am

    Nice Tutorial, i’m new in flash, i was wondering how i could change that car with a new one, i tried all ways but i can’t make it works like the blue one, it doesn’t move. Can someone help me?

  301. john

    on April 6, 2011 at 4:49 pm

    7:63 :p

  302. Antony

    on April 6, 2011 at 10:23 pm

    I want to know how to create a level after this and link them together. I want them to go to the next level if they finish the laps in nuder 100 secs. Please reply

  303. Jatin Hariani

    on April 12, 2011 at 1:57 pm

    superb tutorial! and just in time!
    i was looking to make a game for my website. Thanks a lot!!

  304. roger

    on April 18, 2011 at 9:36 pm

    pues aqui bengo yo de ultimo esta muy bueno el juego pero es muy dificil para los aficionados

  305. m.a rehman

    on April 20, 2011 at 5:47 pm

    please play my game

  306. m.a rehman

    on April 20, 2011 at 5:51 pm

    from three years i wanted to make my own game
    but i did not know how to do it
    now from this side i had made my own

  307. Matt

    on April 28, 2011 at 5:43 pm

    Thanks for the tutorial man!

    BTW, my best time is 6.77 =D

  308. buddy

    on May 8, 2011 at 2:30 am

    hello is there any way you can control the car by other controls like
    WASD or like any of the other letters on the key board

  309. buddy

    on May 8, 2011 at 2:33 am

    hello nice tut
    is there anyway you can change the controls of the car

    to like WASD
    plz reply quickly thanx

  310. goggi

    on May 8, 2011 at 8:48 pm

    how to change the code so that it did not check who is playing a player or a computer?

  311. TechLab.105 » Blog Archive » M4 Intent Mod

    on May 9, 2011 at 2:09 am

    […] it’s just making a game and it contains hundreds of ActionScripts, it’s about making a mini car racing game, well it’s not racing, it’s just a game that records how fast you can finish the 10 […]

  312. vishal

    on May 25, 2011 at 9:54 am

    can i use this for my website

  313. farrukh

    on May 25, 2011 at 1:31 pm

    ya @VISHAL you can , on his own responsibility if then u find problem , then call
    me , then i’ll explain u in detail ,every line of the code, ok , now try it , ASAP

  314. vishal

    on May 26, 2011 at 11:40 am

    Hi @farrukh, i try to make level in this game and i make new track for new level but when racing start, my car went on non accessible areas …

    i copy and paste the whole script as it is. i change the variable name but noting happened .

  315. Jeffrey

    on May 29, 2011 at 9:09 pm

    Best Lap Time: 7.34
    Best 10 Lap Time: 1.21.57

  316. gowtham

    on June 2, 2011 at 10:45 am

    i want to create a gamw

  317. cris

    on June 2, 2011 at 6:35 pm


  318. Billy

    on June 5, 2011 at 1:43 am

    Hi nice tutorial. My score 8.02 :) :) :) ;)

  319. Abhiman

    on June 9, 2011 at 10:57 am

    Thanx… superb tutorial!

  320. angielski wroc?aw

    on June 19, 2011 at 9:18 pm

    8.35 yeah!

  321. Ani gideon

    on June 21, 2011 at 5:31 pm

    i want to create a drive

  322. » 40 Top Flash Game Tutorial Roundup stuff i like

    on July 1, 2011 at 9:59 pm

    […] 1. Create a Flash Racing Game […]

  323. Shane

    on July 7, 2011 at 5:52 pm

    I just got 7.67 ;)

  324. Kimbiz

    on July 23, 2011 at 8:09 pm

    why do you check for (_root[“car”+who].code == “player”) ? I dont understand. Please help me out.

  325. Carlos Quintana

    on July 26, 2011 at 3:25 am

    Hi, buddy, im a java developer .. im going to develop games, i will follow this tutotial

  326. samfish

    on July 26, 2011 at 4:26 pm

    Is there a way to make the stage zoomed in or scroll?

  327. Connall

    on July 28, 2011 at 3:16 pm

    i thought i’d won untill i saw the 7.52, my time was 7:59… great tut

  328. Adithya

    on July 30, 2011 at 11:57 am

    Its really awesome . . . . . fabulous tut . . . .
    I learnt a lot of things . . . . Thanks . . . . .

  329. RussaX

    on July 31, 2011 at 1:15 am

    my best lap is 7.30 :D

  330. Dan

    on August 3, 2011 at 7:51 pm

    Any ideas why it is not working for me? It works fine in Adobe flash, I can play the game, but on this page I cannot. (Also I cannot play the game created from the tutorial in a web browser).

    Must be some setting on my broswer, but what?

  331. izrada sajtova

    on August 12, 2011 at 11:06 pm

    Great tutorial tnx dude

  332. CheeseToasty

    on August 29, 2011 at 4:21 am

    4.79 win

  333. jahrad

    on August 29, 2011 at 4:48 am

    3 minutes :)

  334. blackleon

    on August 30, 2011 at 8:54 am

    how to make nextlevel ??

  335. Sean

    on September 5, 2011 at 7:40 am

    The ‘play again’ button isn’t working why?

    It might have something to do with the fact download part 4 can’t be downloaded now but what do I do to make play again work.

  336. Alex293i

    on September 14, 2011 at 9:23 pm

    Increible! muy buen tutorial

  337. HP Slate

    on September 16, 2011 at 12:19 am

    thank you for the Great tutorial

  338. Hutch

    on September 19, 2011 at 7:29 pm

    thanks for the tut by the way 9.03 win

  339. Anonymous

    on September 27, 2011 at 6:09 am

    how to put music in the game?

  340. THEBOMB

    on October 3, 2011 at 6:36 pm

    Best time 7.17, check it

  341. Create a Flash Racing Game Tutorial « GuarniBlog

    on October 12, 2011 at 6:16 am

    […] View Tutorial   Comments Off […]

  342. MathKing123

    on October 15, 2011 at 4:47 pm

    8:42!!! XD XD XD Haha, LOLs!

  343. MathKing123

    on October 15, 2011 at 5:03 pm

    haha, new best time 7:00 flat!

  344. pocodude

    on October 26, 2011 at 11:44 pm


  345. markiiz

    on October 28, 2011 at 11:09 am

    7,80 best time :), nice tut

  346. cooldude

    on October 29, 2011 at 8:31 am

    how do make more levels

  347. erisya

    on October 31, 2011 at 5:13 pm

    thanks for the tutorial.. finally i got finnish my project work :).. it was helping!!!

  348. shalini,India

    on November 2, 2011 at 4:50 am

    it is very useful for beginners….it nice thanks….

  349. jovenbarola

    on November 2, 2011 at 8:28 pm

    thanks for this tutorial, this inspire to create my racing game :)

  350. Alae

    on November 5, 2011 at 1:38 pm

    Hello , what Driver need i to create like this one ?

  351. Sundeep

    on November 7, 2011 at 7:08 pm

    first of all, nyc tutorial.
    can anyone tell me what is the use of “stepper” layer in “step1.fla”. And my another doubt is how does the actionscript knows the boundaries of the track?
    Plz help me in this..

  352. css

    on November 13, 2011 at 2:36 pm

    Awesome tutorial. And quite a funky little car game. Thanks for the help.

  353. Top Flash Game Tutorial Roundup Part 1 | VapvaruN | Wp Experts

    on November 18, 2011 at 8:28 am

    […] Make a Flash Racing Game […]

  354. lololol

    on November 19, 2011 at 11:45 am

    my best was 0.7 :D

  355. abinash

    on November 19, 2011 at 11:02 pm

    nice tutorial for begineer’s.good job:)

  356. Matt

    on November 20, 2011 at 4:30 am

    Best lap time: 7.20
    Best course time: 1:22.07

    Nice tutorial though. To do this, must I buy the software for $600+ though? I’d like to get to know flash, but I don’t think I could afford that.

  357. the Master

    on November 25, 2011 at 12:34 am

    5:34 nerds beat that

  358. johnthomas

    on November 25, 2011 at 2:54 am

    where the nipples is step 4

  359. sreekanth

    on December 2, 2011 at 2:18 pm

    my best lap is 9 seconds

  360. defagot

    on December 4, 2011 at 3:38 pm

    I need the car to shoot par?

  361. Vladislav

    on December 7, 2011 at 12:29 am

    Hi everyone, please share the second part of this wonderful lesson. Or send a lesson on creating the enemy in this game. I am your very please, do it

  362. GamingGod

    on December 9, 2011 at 9:50 am

    Sweet. 8:39

  363. Robin

    on December 27, 2011 at 2:37 pm

    Great! Thanks!!!

  364. Lemon

    on December 30, 2011 at 12:14 am

    How can I add more checkpoints ?
    Cause how this is programmed I can easly not follow the right way and still win the race

  365. Lemon

    on December 30, 2011 at 6:50 am

    How can I fix the “Play Again” button ?

  366. Kevin

    on January 1, 2012 at 6:15 am

    Excellent Tutorial. Thanks

  367. Resul

    on January 1, 2012 at 3:56 pm

    Thanks! This is great! All credits and special thanks to Remus C! =]

    MY BEST LAP IS 8.40 :D

  368. Cyan Merck

    on January 4, 2012 at 8:09 am

    As a newbie programmer this corner really motivated me to pursue my dream and not think of obstacles and other struggles just to make incredible programs.

  369. asdfjklk

    on January 4, 2012 at 3:53 pm

    1.55.82sec total time
    7.98 fastest

  370. bleh

    on January 14, 2012 at 1:49 am

    … It doesnt say what program to use 3:

  371. bleh

    on January 14, 2012 at 2:02 am

    where can i download ActionScript 2 ?

  372. Free Tutorials to create your own flash games

    on January 14, 2012 at 10:20 am

    […] URL: […]

  373. vanraha

    on January 29, 2012 at 8:29 am

    its a nice tutorial,,
    but can u send me link for part1_step4

    thank u very much :)

  374. ThaInfamous

    on January 30, 2012 at 11:38 pm

    Lol, great tutorial. Lol and mines was 8.67 >:D

  375. ThaInfamous

    on January 30, 2012 at 11:41 pm

    lol scratch tht 7:77 xD

  376. quyenclna_vietnam

    on February 3, 2012 at 8:25 pm

    hello ! hi pic
    i don’t understand the layer stepper
    this working for ?
    why when i detele layer stepper the car don’t running ?

  377. Making A Game « Serious Brew

    on February 10, 2012 at 1:41 am

    […] I looked for some tutorials, and found this list, and from that focused on this one. It was a nice intro and showed the layout and where actions needed to go, as well as explaining […]

  378. Daniel Groves Web Design

    on February 20, 2012 at 7:36 pm

    […] first game was found at the bottom of a flash tutorial on Emanuele Feronato’s website. This game is simple, it has a basic course for a vehicle to navigate around. The vehicle in this […]

  379. S.D.

    on February 21, 2012 at 11:39 pm

    how can i open the source file .fla ?
    with the Adobe Flash Professional CS5.5 ?
    i’m a java programmer and i dont know.

  380. m.d

    on February 25, 2012 at 3:15 pm

    how can i make 2 players

  381. felix

    on March 6, 2012 at 11:26 pm

    Nice tutorial and very interesting

  382. BEATTTT

    on March 13, 2012 at 6:31 pm

    i got 4.3 seconds beat that

  383. Anny P

    on March 15, 2012 at 2:02 pm


  384. Mehelp

    on March 17, 2012 at 6:07 am

    what is the code for play again??

    and where I will Put it??

  385. Awesome dude

    on March 22, 2012 at 7:23 am

    My record is 9:03

  386. ren

    on March 22, 2012 at 4:17 pm


  387. Nathan

    on March 23, 2012 at 2:06 am

    7.26 is my best lap :D Great tutorial

  388. Majo

    on March 25, 2012 at 8:40 am

    can you make a code for two cars??

  389. Tutorials « jaechonmurphy

    on April 10, 2012 at 6:55 pm

    […] 1. […]

  390. gabriel

    on April 19, 2012 at 9:05 am

    good tutorial i think i can like this flash games

  391. Hamachi D.

    on April 24, 2012 at 1:19 am

    i got 9:00

  392. Andree

    on May 1, 2012 at 10:56 am

    I want the collision more instant. I don’t want the car to slowly run into the wall like it’s jelly. When the car hits a wall straight on, I want it to instantly stop. Could you help me?

  393. Lauren

    on May 2, 2012 at 9:54 pm

    How do you decrease the number of laps? 10 is a little long for me. Someone please help?

  394. Violeta

    on May 4, 2012 at 10:30 am

    Hi! Thanks for this tutorial, I want to transform from ActionScript 2.0 to ActionScript 3.0, can somebody help me, please!!!

  395. craus

    on May 4, 2012 at 2:00 pm

    it’s dificult to transform this game in ActionScript 3.0?

  396. Hazz

    on May 9, 2012 at 5:55 pm

    hello, umm this this a really nice tut. but how can i make it a 2 PLAYER GAME or add a computer.


  397. Kit

    on May 16, 2012 at 2:16 pm

    Very awesome!

  398. Yellz Blog! » New Flash Car Racing Game

    on May 20, 2012 at 10:39 am

    […] to go the flash route. The first tutorial I found was from Emanuele Feronato’s site at Flash Car Racing Tutorial. Its not really a Flash tutorial as far as learning how to use the Flash application to create the […]

  399. BigDickNick

    on May 23, 2012 at 3:28 am

    just got a 1.06 ;)

    ….you guys are so gay. like really, the biggest thing you have to worry about is what lap time you got on a mediocre flash game? pitiful.

  400. Rachwomaninoff

    on May 28, 2012 at 8:12 pm

    How do I get the ‘Play Again’ to work? Do I need to create an event listener and function or what? I’d appreciate your feedback.

  401. nartes

    on June 9, 2012 at 9:41 pm

    It’s a really good tutorial for beginners. It’s a really good example for beginners. On other hand check of leaving from the map is not very well implemented . If you start going backwards at an angle slightly less that 90 degrees to the boundary of the track, and press constantly left or right while hodling back down, the machine will leave well beyond the field

  402. TimX91

    on June 11, 2012 at 10:52 pm

    LOL your time sucks!

    My best time is 07:97

  403. TimX91

    on June 12, 2012 at 1:41 am

    and now 6:66 lol

  404. Best Action Script 3 Game Tutorials

    on June 16, 2012 at 10:47 am

    […] 8.Racing Game […]

  405. jordan

    on June 19, 2012 at 5:48 pm

    hi, im doing this for a school project but i have to add something to it…..
    aand i suck with computers so if you can it would be nice if you tell me how to make a pause button or something….

  406. Maggie

    on June 26, 2012 at 3:44 pm

    Stupid directions

  407. meghnad ghosh

    on June 29, 2012 at 4:36 am

    Hey how slow! Mine lap time is just 5.69.

  408. MrAlfaPlam1

    on July 6, 2012 at 11:43 pm

    How to change the color of the check points while still having them???

  409. MrAlfaPlam1

    on July 7, 2012 at 9:43 am

    How to get rid of the red lines ???

  410. Ayman

    on July 10, 2012 at 11:07 am

    Big Deal! I got 9.00 seconds dead!

  411. Muaaz Khalid

    on July 14, 2012 at 7:08 pm

    My Best Lap time is 8.13 Sec :D

  412. Bugatti Veyron

    on July 15, 2012 at 11:25 am

    How can you have an AI race?

  413. Ina

    on August 29, 2012 at 1:26 pm

    hi i was wondering, how will i ad a leader-board to the game

  414. budiuy

    on August 31, 2012 at 10:40 am

    Great Tutorial..

  415. Sam12Be

    on September 16, 2012 at 1:12 pm

    i got 1:49 sec… thnx 4 the tutorial it help…

  416. Mondli

    on September 25, 2012 at 9:53 pm


  417. diGGity

    on September 28, 2012 at 3:08 pm

    How can i change terrain? When i set new graphic on slows down and dont react on obsticles.What is the problem? :S

  418. Daniel

    on October 7, 2012 at 7:21 am

    7.16 :)

  419. hil

    on October 28, 2012 at 4:54 pm

    7.67! xD

  420. » Blog Archive » Creating a Racing Game

    on November 5, 2012 at 2:48 pm

    […] […]

  421. Orlando

    on November 11, 2012 at 1:48 pm

    7.77! :D

  422. Create a Flash Racing Game Tutorial | Deep Ocean, Wide Sky

    on November 13, 2012 at 4:48 pm

    […] Create a Flash Racing Game Tutorial – Emanuele Feronato […]

  423. ?????20???Flash????????????Flash?? » ?????

    on November 26, 2012 at 5:20 pm

    […] 8. )Racing Game […]

  424. Moggs

    on November 27, 2012 at 5:53 pm

    8.00 on the dot – on my first full lap. Just luck :o)

  425. omg

    on November 28, 2012 at 2:00 am

    i hate this tut… sorry :P

  426. 32 Best Action Script 3 Game Tutorials

    on December 3, 2012 at 7:35 am

    […] 8.Racing Game […]

  427. 1999Elias

    on December 10, 2012 at 11:57 pm

    uh, one problem, I runned backwards so the lap counts anyway :P

  428. aji

    on December 12, 2012 at 7:41 am



  429. dude

    on January 4, 2013 at 4:50 pm

    what does who mean?

  430. Benz

    on January 22, 2013 at 12:12 pm

    My best lap is 08:87 suckers and only played for 2 minutes

  431. lol

    on January 22, 2013 at 7:25 pm

    I got 1,70 seconds. I did not cheat by modifying the game whatsoever…

  432. tor

    on February 9, 2013 at 5:09 pm

    Which software do you use to create the game

  433. tayyabah

    on February 14, 2013 at 5:05 pm

    can anyone tell me kindly how to make a game in which we have to collect different alphabetic characters in flash games..
    kindly tell me

  434. tayyabah

    on February 14, 2013 at 5:07 pm

    hi can any one kindly tell me how to make flash game in which you have to collect different alphabetical characters…
    kindly tell me plz

  435. Masson 2K

    on February 15, 2013 at 12:27 pm

    7.10 ;))))))

  436. Paul

    on February 28, 2013 at 11:27 am

    8.53 best lap

  437. Jonny

    on March 1, 2013 at 4:58 pm

    Hey, nice tutorial. I’m using this to compile a game where there’s several levels(It’s for my beginner’s animation class so we can understand simple flash coding and what-not)

    I need some help: When I put the different levels in(On frames 5, 15, 25, 35, so on) I made buttons that take you to each perspective frame. Now, the level works normally, but one of two things happens at the end:

    1. The level won’t let you finish. It’ll stop on lap 5 when you should be done and you’ll be driving around with no objective.
    2. Once you finish a level, it switches over to another level on a different frame, then as it says “Ready, Set, Go!” it cycles through three more levels before ending on the first one one and making you play it. Then problem #1 occurs.

    Some help would be nice. Thanks :)

  438. salman

    on March 1, 2013 at 7:42 pm

    nice tutorial

  439. bengkelflash

    on March 23, 2013 at 12:17 pm

    nice tutorial :)

  440. karan

    on March 23, 2013 at 3:27 pm

    which is the first frame

  441. Bakhus

    on April 3, 2013 at 8:00 am


    and by the way My best lap 00.08.43 :D

  442. | Wanderer

    on April 10, 2013 at 8:45 pm

    […] Create a Flash Racing Game Tutorial […]

  443. Tuk

    on April 11, 2013 at 5:27 am

    i need video tutorial man can you help me ?

  444. maty

    on April 13, 2013 at 7:18 pm

    WHy is it a large file

    and on fb weill it let you uploa dit i maked it much better

  445. Annonymous

    on April 23, 2013 at 5:39 pm


  446. danuil

    on April 28, 2013 at 11:39 pm

    Mejor tiempo 7.26 jejej

  447. Akshat

    on June 23, 2013 at 1:07 pm

    nice tutorial bro,
    but how can i play it ????

  448. Kavindu

    on October 2, 2013 at 7:40 am

    Thank You Very much. This Tutorial Very Helpfull & Nice.

  449. temiandri

    on November 8, 2013 at 9:21 am

    Thank you very much……this tutorial is great…nice and fun..thanks a lot…

  450. maggie

    on November 15, 2013 at 9:35 pm

    play again doesn’t work…help?!????!

  451. johnhozy

    on December 5, 2013 at 8:03 pm

    The people who are interested in gaming and blogging, YouSayToo lets you earn from your flash games and allows you to make money blogging.This tutorial covers the creation of a flash racing game.

  452. matteo

    on December 30, 2013 at 11:44 pm

    Nice tutorial, thank you

  453. Dian

    on May 26, 2014 at 3:27 am

    Excuse me sir, step_4 (finishing the game) can’t to download, so how i get it ???
    Thank u :)

  454. car 15 cloneCamfrog | Camfrog

    on August 27, 2014 at 5:51 am

    […] File Name : Create a flash racing game tutorial – emanuele feronato Source : Download : Create a flash racing game tutorial – emanuele feronato […]

  455. Race The StooshBus Flash Game | Native Noise

    on October 12, 2014 at 11:11 pm

    […] found a tutorial by Emanuele Feronato and reskinned the basic driving game to match Stooshe. Then I enhanced the game by adding sharing […]

  456. Alice

    on November 5, 2014 at 7:26 pm


    Were is the link to part 2 of the tutorial oponents?

  457. george

    on November 13, 2014 at 3:54 pm

    Hello, i cannot seem to get the timer to work? Any ideas or links to peoples final products that work? thanks

  458. omar

    on December 6, 2014 at 12:47 pm

    hahaha 8.17 :P :P

Thank you for the download!!

I hope you will find it useful and make something interesting out of it

To keep up to date with the blog, why don't you like my Facebook page and follow me on Twitter?

Want to learn more? Don't miss this:

Learn how to make a successful commercial Flash game from a real world example: get the fully commented source code of Globez, a Flash game played millions of times which generated a four figure income. Limited copies available.

Get it now