MonoGame – Drawing a Sprite using Monogame.

In today’s tutorial, I will show you how to draw a sprite on the MonoGame window.
Use the utility to open the Content.mgcb file.

Add the sprite file using the Add Existing Item menu.
I used the Fedora_logo.png file then build with the Build button.
Add the following lines of code to the source code in the Game1.cs file that links to the sprite image and run it.

If you running you will see a window with the Fedora icon.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.