Victor Chelaru 57cf4c5e77 Upgraded the last sample projects to Gum 2025.8.3.3 1 month ago
..
images 1f1b4374ff Add the learn MonoGame 2D sample source 7 months ago
src 57cf4c5e77 Upgraded the last sample projects to Gum 2025.8.3.3 1 month ago
LearnMonoGame2D.AllChapters.sln 57cf4c5e77 Upgraded the last sample projects to Gum 2025.8.3.3 1 month ago
README.md 1f1b4374ff Add the learn MonoGame 2D sample source 7 months ago

README.md

Building 2D Games with MonoGame

This repository contains the complete source code and examples for the "Building 2D Games with MonoGame" tutorial series. The series guides you through creating a fully functional 2D game called "Dungeon Slime" while teaching fundamental game development concepts.

The completed game is a snake-like experience with a dungeon theme, featuring:

  • Animated sprites with smooth movement.
  • Tile-based level design.
  • Sound effects and background music.
  • Custom UI with menus and gameplay information.
  • Visual effects using shaders.
  • Complete gameplay loop with scoring and game states.
The title screen of Dungeon Slime Gameplay of Dungeon Slime
The title screen of Dungeon Slime Gameplay of Dungeon Slime

About the Tutorial

This tutorial series walks you through the complete process of building a 2D game using MonoGame, from setting up your development environment to publishing your finished game. Each chapter builds upon previous knowledge, gradually introducing new concepts and techniques.

The tutorial is designed for:

  • Developers with basic C# knowledge looking to get started with game development.
  • Programmers interested in learning MonoGame's approach to cross-platform game creation.
  • Anyone wanting to understand the fundamentals of 2D game development.

Tutorial Structure

The tutorial series is organized into 27 chapters, each focusing on specific aspects of game development:

Getting Started with MonoGame

Graphics and Rendering

Input and Interaction

Audio and User Interface

Game Mechanics and Distribution

Repository Structure

Each chapter's source code is contained in its own folder, allowing you to:

  • See the progressive development of the game throughout the tutorial.
  • Compare implementations between chapters to understand new concepts.
  • Use specific chapters as starting points for your own projects.

Getting Started

To begin using this repository:

  1. Clone or download the repository.
  2. Follow the setup instructions in Chapter 02: Getting Started.
  3. Each chapter folder contains a complete, working project representing that stage of development.
  4. For the full learning experience, we recommend following the tutorial chapters in sequence.

Resources

For additional help and information: