DEV Community

Cover image for Make a Punch Out Game in Windows Forms and C#
MOOICT
MOOICT

Posted on

Make a Punch Out Game in Windows Forms and C#

Hi, in this post lets take a look at how to make a punch out game using Windows Form and C# programming. We will be using picture boxes, timers, progress bars in windows form to make this game. Hope you enjoy this one.

Lesson Objectives –

Create a simple punch out game in visual studio using c# programming language
Using progress bars to show the health of player and opponent
Using Selection to determine the hit test between player and opponent
Using LIST to create variety of moves for the opponent which is controlled by the CPU
Using Picture Boxes and Resources to show dynamic images for the player and the opponent
Determining the who won the round and who lost the round using integers linked to the progress bars
Using Key Down and Key Up events to control the player
Enter fullscreen mode Exit fullscreen mode

Here is the youtube tutorial video

Download Punch out Game images here

There is also a written tutorial attached to the tutorial. Please find it below the images tab on the MOO ICT website.

Happy Coding.

Top comments (0)