Development of a 2D computer game for Windows in C# with MonoGame: Description of the development stages of the game Brick Shredder from the Microsoft Store using Visual Studio 2022
This tutorial describes the development of the game Brick Shredder with the free game framework MonoGame for the programming language C# as a UWP app and as a desktop application for Windows. The free Community Edition of Visual Studio 2022 is used as the development environment.
This tutorial specializes in the architecture of the game and its interaction with the MonoGame framework. This tutorial is also dedicated to the integration of external resources such as graphics files into the game, since the MonoGame framework provides its own program for this. Finally, the steps are described to be able to publish the game as a UWP app locally or in the Microsoft Store or as a desktop application. For both variants, the complete Visual Studio project is provided for download. The Brick Shredder game can be downloaded for free from the Microsoft Store as a UWP app and runs on Windows 10 and Windows 11.
Table of contents Imprint Introduction · Description of the game · Architecture types of game programming Installation of the required software · Installing Visual Studio 2022 · Installing MonoGame Preparation of the game · Decision between UWP app and desktop application · Creating the new project Implementation of the game · Classes · Graphics · Sounds · Content Configuration of the game Publishing of the game · Publishing as UWP app · Publishing as desktop application