× Main Menu

C# Tutorial – Top Down Car Racing Game with Visual Studio

In this tutorial we are going to create a full top down car racing game.  The game principles are as the score goes up so does speed of the game, the is over once you hit another car. In this tutorial we are using Visual Studio and C# (sharp) programming language. We have pre designed the game assets and you can use your own but you need make sure they all have the same height and width.

In this tutorial you will learn –

  1. How to create a arcade game in C#
  2. How to identify the collision between multiple objects / picture boxes
  3. How to integrate key down and key up events into the windows form
  4. How to create a parallax scrolling background on windows form
  5. How to create a game level using visual studio component Panel
  6. How to dynamically change the images in the picture boxes
  7. How create and run functions
  8. How to use Booleans
  9. How to create a scoring system and reward the players appropriately
  10. How play WAV music file using only C#(Sharp) codes

 

Full Video Tutorial –

 

 

Download all of resources for the top down car racing game visual studio and c#

C_Sharp_Top_Down_Car_Racing_Game_Tutorial




3 responses to “C# Tutorial – Top Down Car Racing Game with Visual Studio”

  1. Vikito Zhimo says:

    Can i get the code of paused and resumes without losing the left and right arrow key controls over the player cars

  2. Suhird says:

    Dear sir,
    I am also new at programing and learning through project after learning all the syntax. This is truly helped me a lot but I am stuck at something.
    I can’t play the sound and yes I have name it correctly and done adjacently how it is done. I have also search stack-overflow and Microsoft c# docs. su
    Also any suggestion on improving with my programing will be appreciated.
    Sincerely,
    Suhird

  3. Anhar Ali says:

    Hi Suhird, I’ve started to make fully commented video tutorials. here is the one for this tutorial – https://www.youtube.com/watch?v=YIgQg_AAIIU. You will find the part about playing sound from 44.41 mins into the tutorial.

Comment on this tutorial and let us know how you got on -

%d bloggers like this: