× Main Menu

C# Tutorial – Create a Breakout game in Visual Studio

In this tutorial we will learn how to create/develop a fully working breakout game using c# and visual studio.  You will learn how to create multiple picture boxes and use them inside of a loop using c# programming language.  This tutorial is aimed for the beginners who are learning how to program and what better way to learn than to clone an all time classic. In this tutorial we are not using any other libraries such as XNA, MonoGame, DirectX or any other. We are simply going use a windows form application and C# programming to completely create a game from scratch.

Lesson Objectives –

1) Create a simple break out game using button, picture boxes and timer

2) Create a control loop to loop through system components and identify picture boxes

3) Create picture boxes with different tags and identify them using c#

4) Keeping score within the game

5) Execute win or lose scenario for the player

6) Animate paddle and ball to give rewarding game play for the user




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

%d bloggers like this: