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.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay