Skip to content

Game Programming Adventures

My Game Programming Adventures including projects and tutorials

Menu
  • Home
  • MonoGame
    • A Summoner’s Tale
    • Forest Rush 3.8.1
    • MonoGame RPG Tutorials – Eyes of the Dragon 4.0
    • Pokemon Style MonoGame Tutorials
    • Eyes of the Dragon
    • Eyes Of The Dragon MonoGame RPG Tutorials 3.0
    • Forest Rush
    • Classic Games MonoGame Tutorials
  • HTML5
  • My Projects
    • My Projects Bugs
  • Eyes of the Dragon XNA
  • Android MonoGame Tutorials
    • MonoGame RPG Tutorials – Eyes of the Dragon 4.0
  • iOS MonoGame Tutorials

MonoGame

MonoGame Tutorials

MonoGame Tutorials!

These are my general MonoGame tutorials, not part of a larger project. If you are looking for my Shadow Monster tutorials they can be found on the Shadow Monsters MonoGame Tutorials page. My Eyes of the Dragon tutorials they can be found on the Eyes of the Dragon MonoGame Tutorials page. The Eyes of the Dragon 3.0 tutorials are on the Eyes of the Dragon 3.0 page. Finally, my Forest Rush tutorials they can be found on the Forest Rush MonoGame Tutorials page.


MonoGame For The Absolute Beginner

These MonoGame tutorials are aimed at somebody with no prior, or very little, MonoGame experience. They assume a basic understanding of the C# programming language.

Tutorial 00

Understanding MonoGame – This tutorial covers the basics of MonoGame, describing the skeleton of a game and sharing some key insights.

Tutorial 01

Getting Started – This tutorial covers the basic of loading an image, drawing it on the screen the moving it around the screen.

Tutorial 02

Keyboard Input – This tutorial covers the basic of loading an image, drawing it on the screen the moving it using the keyboard. It also moves the sprite at a uniform speed and constant speed regardless of frame rate.

Tutorial 03

Scaling and Rotating Sprites – This tutorial covers the basic of loading an image, drawing it on the screen then moving it using the keyboard as well as scaling and rotating it.

Tutorial 04

Going 3D – This tutorial is about how to draw a rectangle in 3D.

Tutorial 05

Going 3D, Texturing, Scaling and Rotating – This tutorial is about how to draw a textured rectangle in 3D and how to scale and rotate it.


Tutorial 06

Going 3D – Moving and Cube – This tutorial is about how to move objects in 3D space. It also covers creating our first 3D object, a cube.

Tutorial 07

Going 3D – Drawing a Model – This tutorial is about how to load and render a 3D model.

Tutorial 08

Brick Breaker – In this tutorial, we create our first actual game: a brick breaker.

Tutorial 09

Asteroids Clone – In this tutorial, we create our second game, an Asteroids clone.

Tutorial 10

Animated Sprites – This tutorial covers creating animated sprites using frame animation.


General MonoGame Tutorials

Collision Detection Tutorials

These MonoGame tutorials are on collision detection between game objects using various techniques. They are aimed and beginner to intermediate MonoGame programmers.

Collision Detection Part 01

Basic Collision Detection – This tutorial covers the three most common collision detection methods: bounding boxes, per pixel and per pixel on transformed objects. It is aimed at beginners.

Collision Detection Part 02

Alternate Methods – This tutorial covers two alternate methods of collision detection: multiple bounding boxes and bounding circles.


MonoGame 3D Tile Engine Tutorials

MonoGame 3D Tile Engine tutorial sample
Rendering 2 million quads

Part 1 – 3D Rendering

This tutorial is about creating a tile engine using 3D instead of SpriteBatch. As a result, we will improve performance and gain access to advanced 3D capabilities. This tutorial covers rendering quads and manipulating them. That is, translating, rotating and scaling them.

Part 1 – 3D Rendering

Part 2 – Making it Reusable

This tutorial moves everything to a reusable library. Also, I add a custom shader rather than a basic effect.

Part 2 – Making it Reusable

Part 3 – Index and Vertex Buffers

Instead of drawing individual vertices this tutorial moves to drawing using vertex and index buffers. As a result, performance is greatly improved. I was drawing millions of quads per frame.

Part 3 – Vertex Buffers


MonoGame Tutorials – Space Raptor

Shadow Raptor MonoGame Tutorial

The Space Raptor game is a Shoot’em Up, or Shmup, that takes place in the cold unforgiving regions of space. The objective is to make it through wave after wave of enemies before moving on to the next level.


Part 1 – Getting Started

Here we lay the foundation that will be used throughout the game. It starts with some basic components then moves on to firing bullets, the heart of a shmup. Following that is collision detection between the game objects.

Part 1 – Getting Started

Part 2 – More Basics

We pick up where we left off last and start work on our enemies firing at up. Because we are using scaled sprites I implement pix perfect collision detection. A shmup is no fun without explosions so I add those in as well. As a result, we have a fairly functional game.

Part 2 – More Basics

Part 3 – Shields and Power Ups

What we really need now are shields! Also, we need to make our space raptor stronger. So, adding power ups and shields is the focus of this tutorial.

Part 3 – Shields and Power Ups

2 thoughts on “MonoGame”

  1. Emma on January 28, 2022

    Hello! I’m starting to learn MonoGame and wanted to work through this tutorial as an intro. I already know C# and Visual Studio pretty well. I noticed that in part 1 of the tutorial, the LoadContent method is missing. Currently, after following the tutorial, I managed to load in the player sprite and a single bullet sprite, but none of my enemies are working. I assume it’s because my LoadContent method is incomplete. Is there any way I could get the LoadContent method’s contents?

    • Lady Synammon on February 12, 2022

      Hi Emma. Sorry for the late reply, I’ve been swamped with work and have not visited the blog. I will look at the tutorial and see what is missing from it and fix it. Enjoy your MonoGame adventures!

Comments are closed.

Recent Posts

  • Q*bert Is Now Live!
  • Another Classic – Mr. Do
  • More on Q*bert
  • Q*Bert
  • Frogger Clone Tutorial Part Two

Archives

  • April 2025
  • March 2025
  • February 2025
  • August 2024
  • July 2024
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • May 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • March 2020

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Recent Comments

  1. Lady Synammon on It Was a Weird WeekMarch 29, 2023

    Thank you. I'm happy to hear that you are finding the tutorials valuable. To answer your question, I will be…

  2. Weak Entity on It Was a Weird WeekMarch 29, 2023

    I did a basic implementation of the TiledCS along with your parts and its working pretty well. Also the ButtonGroup…

  3. Weak Entity on It Was a Weird WeekMarch 28, 2023

    Welcome back. Looking forward to reading more tutorials from you. The 4.0 tutorial and code have helped me getting started…

  4. Lady Synammon on MonoGame RPG Tutorials – Eyes of the Dragon 4.0March 1, 2023

    You can skip those sections if they are not relevant to you.

  5. Sophos on MonoGame RPG Tutorials – Eyes of the Dragon 4.0March 1, 2023

    Sure, I will go through all :) Must say good job, very detailed tutorials. Also I am wondering, can I…

  • Home
  • MonoGame
    • A Summoner’s Tale
    • Forest Rush 3.8.1
    • MonoGame RPG Tutorials – Eyes of the Dragon 4.0
    • Pokemon Style MonoGame Tutorials
    • Eyes of the Dragon
    • Eyes Of The Dragon MonoGame RPG Tutorials 3.0
    • Forest Rush
    • Classic Games MonoGame Tutorials
  • HTML5
  • My Projects
    • My Projects Bugs
  • Eyes of the Dragon XNA
  • Android MonoGame Tutorials
    • MonoGame RPG Tutorials – Eyes of the Dragon 4.0
  • iOS MonoGame Tutorials