Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

C# Win Forms Flappy Bird Hunting Game Oop Master Class In Vs

Posted By: ELK1nG
C# Win Forms Flappy Bird Hunting Game Oop Master Class In Vs

C# Win Forms Flappy Bird Hunting Game Oop Master Class In Vs
Published 11/2022
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.88 GB | Duration: 3h 33m

Time to hunt the elusive flappy birds by making this new interactive game with C#, Windows Form, .Net in Visual Studio

What you'll learn
How to create a fun game with out using any games engine e.g. GODOT, UNITY or UNREAL
Create a Flappy Bird hunting game, its similar to the duck hunt game from the old nintendo games but its flappy bird this time. Why? Because why not right?
Code using object oriented style of programming. We will create A CLASS for the bird and control its movements, score and death using that script
Work with multiple windows forms. We will create the games window and the start window of the game and establish a communication between them using C#.
Learn how to load sprite images from external folders and load them dynamically to thee code using C# programming.
Save high score to a text file and have it ready and loaded when the game is running or loading in the background
use various data types, functions and loops to make this work. We will be using custom class and lists to control the movement of the birds
Work only on windows form and make a game using transparent images and animate objects using the sprite sheets
Publish the final application by packaging all the external files, executeable files and the resources in a windows installer
Requirements
No progrmming experience is required but some basics would be benefitial
Each of the content convered in this tutorial will be explained step by step
Have a laptop or pc with Visual Studio installed and have access to online materials
Be driven and focused to complete a project start to finish
Description
Welcome to the Flappy Bird Hunting game master class. This course has been meticulously planned to challenge your views on the capabilities of windows form. What if we can make an interactive, fast paced, multi object shooting game in windows form with C# and nothing else? What if this game would spawn and respawn objects, allow the user to have crosshair on their mouse cursor, play music and register the hits on the birds and reward the players accordingly? Does this game sound impossible in windows form? Yep it kind of does, until you realise that someone as stubborn as you and me will have to find a way to do just that. Why? Well, why not.Windows form is an amazing platform for learning programming. Its very basic what you see if what you get platform and most of the times we learn by making calculators, image viewers or other desktop style applications. Windows form is not made for games development but its an interesting challenge to be able to mimic or build similar games as the ones existed before in this limited platform only using the tools available inside of visual studio and not using any of the big game’s engines such as GODOT, Unity or Unreal.I want to explore the hidden or less used features of windows form that can potentially be used to make actual games on the platform and for us to learn how to use C# programming in a more productive and effective way.Although this is a games development course at the heart of it it’s a programming course. We will complete the course together by making a flappy bird hunting game that’s full of Challenges.FeaturesMake a flappy bird hunting game using native C#, Windows Form, .Net and Visual StudioImport sprite images to animate the bird, MOO, and coin in the gameHave a cross-hair to follow the player mouse cursorAdd the Media Player dependency for .Net through visual studio to play multiple Mp3 files together in the gameAllow players to mute or play the music and sound effects in the gameLoad external sound effects to the game such as bullet sound and background musicLoad external background images for the game and allow the user to pick a new background for their game playLoad lots of different birds in the game, this will be the bird sprites and we can animate each of them using separate sprite images from external folderCreate a BIRD CLASS and import that to the games windowUse the BIRD object in the game loop to check if they bird is dead or alive. If alive it will continue to fly within the bounds of the game and if DEAD it will spawn the coin animation and remove the current bird from the game.Add a cow (MOO) that will be collecting the coins when it drops to the ground.Play sound effects for MOO and the coin collectionUsing different layers of elements to show the background, foreground, bird, MOO and cursor images in the gameLoad and apply custom fonts to the game directly inside of Windows FormKeep track of the score in the game and save the high score into a text file so it can be loaded and saved in permanent memoryCreate a fun count down timer in the game and allow the users to hunt as many birds as they can within that timeReward player with more bullets when they accurately shoot 5 birds in a row.When the game is finished we can build a installation wizard to publish the game, this wizard will create a MSI and EXE file to be shared online or offline.The installation process will be custom built, so it will contain the files we want to contain for the game and also include the icons for the file which will show with the desktop shortcut.If you are not familiar with my work please check out my YouTube Channel MOOICT or search for MOOICT on google and you can explore the different types of educational content I make on my website and YouTube channel. Happy Hunting everyone.

Overview

Section 1: Flappy Bird Hunting Game DEMO

Lecture 1 Demo

Section 2: Introduction

Lecture 2 Introduction

Section 3: The Set up

Lecture 3 Explore the external files

Lecture 4 Visual Studio Set Up

Section 4: The Start Window

Lecture 5 The Start Window

Section 5: The Bird Class

Lecture 6 The Bird Class

Section 6: The Games Window

Lecture 7 The Games Window

Section 7: Lets Build the App for Publishing

Lecture 8 Publishing the game to a Installation Wizard

Lecture 9 End Message

Students,Teachers,Aspiring game developers or software engineers,New programmers or developers,For the curious minded