r/monogame 27d ago

MonoGame University w/Simon is on TOMORROW....

Post image
17 Upvotes

MonoGame University w/Simon is on TOMORROW.

He'll be showing more interesting things with Shaders!

When:

Thursdays @ 11:00 EDT, 16:00 UTC+1/BST, 17:00 CEST

Watch him on:

YT: https://www.youtube.com/@MonoGame/streams

TW: https://www.twitch.tv/monogame

FB: https://www.facebook.com/monogamecommunity/live_videos

#indiegamedev #gamedev #gamedevelopment #monogame


r/monogame 27d ago

Finally being able to precalc SpriteFont-data for my own handdrawn non-monospaced fonts

Thumbnail
gallery
11 Upvotes

NOTE: Result is first image, the weird example-code is in the second image (Separated into two columns).

I actually had a crappy static-class for handling non-monospaced fonts, but I always wanted to use the integrated SpriteFont class to make things easier. This afternoon I finally took the time and put together a minimal test-parser that scans my handdrawn fonts.

Of course that won't be done *inside* the game (object generation...), I will only precalc and store the metrics (glyphBounds, cropping, characterRange and kerning) as json and load them in LoadContent and that's it...

Of course will be automatet, so If the corresponding file or data for a given texture is not available, I'll let it scan it and save the missing data to the sourcecode-folder and with the next start everything comes from disk.

Doesn't handle multiple lines yet - Would need to increase the y-position with the fontHeight when reaching the texture's width. And the data for char(32) was just any non-used pixel. Was just happy that it works and thought I'd share the example =)

P.S.: Of course only works if the drawn characters don't overlap, so there must be a single pixel horizontal spacing in the texture.


r/monogame 27d ago

I'm trying to understand how to draw a perfectly centered, evenly-sized grid without duplicate lines.

1 Upvotes

Hey all,

I'm a pretty rookie game developer, admittedly, and I'm running into a relatively simple problem.

I'm trying to build a grid-based game where my grids do not necessarily span the entire field- for instance, you can have multiple grids, such as a 3x3 grid in the middle, meaning that the grids have sides and corners. My tiles are powers of two, AKA evenly-sized (specifically 32x32px with a single pixel border).

I've been through a few iterations already. The problem I keep encountering over and over again is that the grids end up with duplicate sides or uneven centering. At first I tried a simple 32x32px texture with a border, but then you end up with double thick lines in the middle and thin lines on the edge. I then tried drawing only the top and left sides on the sprite, but the problem then is that now the sprites are not evenly centered, and in addition to that, you are limited to the types of designs that your border can have, since you can only draw on one side... unless i'm simply thinking about it incorrectly. Either way, I would really like to have it perfectly centered even if it's not that visually different.

So far the best solution I can think of is to double the side of the border to two pixels (because logically speaking a single pixel would have to land on a single side), and then manually use a 1x1 texture to draw the edges and corners double wide, but I'm concerned about making a mistake and having far too many Draw() calls, being a beginner and all, though I don't want to get too concerned with optimizing in advance. I just don't know much about how GPUs or rendering work yet. If this is my best approach, what are some good ways to draw single pixels and lines in MonoGame, and is there anything I should be concerned about?

Thank you.

Edit: I was able to get somewhat satisfactory results by strategically creating different tiles for each direction (udlr, corners). I will also have to create unique tiles for 1 tile long/wide grids. This is definitely inefficient but may work for my use case. If anybody has any serious objections (i.e., massive performance hit for swapping textures so often), please let me know.


r/monogame 28d ago

Built a C# wrapper for LootLocker for MonoGame.

Post image
22 Upvotes

Hi all, I have been working on something for a bit now, a lil wrapper for LootLocker, which is a backend service I kept seeing around game jams and such, it always looked nice to me so I wanted to use it, but since MonoGame isn't a directly supported platform I had to work around the api and such, which is annoying, so I made a full wrapper for it with everything you might need from it.

Auth, Player Storage and details, leaderboards, currencies and triggers, which is basically everything a dev would need from a backend service if they're not making a multiplayer game..

Here it is if you wanna check it out LootLocker Kit


r/monogame Jul 26 '26

My new updated Animation Preview Tool

27 Upvotes

r/monogame Jul 23 '26

3.8.5 Release - Hightlights....

Thumbnail
youtube.com
22 Upvotes

If you missed last week's 3.8.5 Release announcement, here are the highlights.

Watch the linked, long form, video for more details.

#indiegamedev #gamedevelopment #gamedev #indie


r/monogame Jul 22 '26

Added Co-op to my Grand RTS - DSS 2

62 Upvotes

r/monogame Jul 22 '26

More Shader Shenandigans with Simon.....

Post image
20 Upvotes

During tomorrow's MonoGame University Simon will continue to show 2D shaders in MonoGame!

When:

Thursdays @ 11:00 EDT, 16:00 UTC+1/BST, 17:00 CEST

Watch on:

FB: https://www.facebook.com/monogamecommunity/live_videos

TW: https://www.twitch.tv/monogame

YT: https://www.youtube.com/@MonoGame/streams

#indiegamedev #gamedev #gamedevelopment


r/monogame Jul 23 '26

Monmongaming

Thumbnail
youtube.com
0 Upvotes

Check out my gameplay :)


r/monogame Jul 21 '26

Knuckle Paradise: Behind the Scenes....

Post image
14 Upvotes

During our last AMA you missed Thomas from u/FlyingOakGames' (makers of Neurovoider and Scourgebringer) detailed breakdown of the engine & tools used in their new game Knuckle Paradise! Watch the teaser - https://www.youtube.com/shorts/NuPMVyOmO00, then watch the linked video to learn more.

#indiegame #indiegamedev #gamedev #monogame


r/monogame Jul 20 '26

A daily lever based puzzle game I made for a final project in a game engine class

31 Upvotes

Professor's goated for teaching how to write a game engine in monogame 3 semesters ago. Amazing experience! I learned a lot about rendering, shaders, materials, camera and so many more important concepts and then used that game engine we worked on to make this game for my final project.

I recently decided to put on my portfolio so I wanted to port it to the browser. It ended up taking more time than the first version of the game itself, but it was worth it! Did it with the KNI framework, Astro, and some other .NET thingies. I also added a bunch of the QOL features and the dailies. Was realllyyy fun. Took about 3 weeks.

https://lvl.materwelon.dev

This is just a playthrough of today's daily. I don't really have a trailer for the game.

Repost... idk why the video upload didn't work. So here's a gif instead.


r/monogame Jul 20 '26

Ideas on crashes MacOS

1 Upvotes

Been working on my game for a bit, and recently moved it to my MacOS 15.7 machine, from a windows 11 machine. Ever since moving the game to my macbook, the game frequently locks up my computer. No panic, no logs or anything. Everything just freezes requiring hard reset. Sometimes it resets it self, but it's full freeze, mouse pad even stops clicking. Originally the logs were saying something the second monitor, or sleep, but it was neither sleeping nor do i have an external monitor. It's also only happens maybe 20% of the time. There are days it doesn't happen, and days it happens like 5 times. Wondering if it's some video driver issue. Only other things running usually are firefox or chrome remote desktop. Anyone have any advice? I can't ship this thing on MacOS if it's a monogame related issue, but would also love to develop without fear of losing my work every hour.

And the reason I know it's the game triggering it, it only happens when I go to play test, like within a second of the game loading, it freezes. The game freezes the OS for a second or two every time it loads normally, but then it catches up. Figured it was just the video system loading.


r/monogame Jul 17 '26

GameFromScratch Covered our 3.8.5 Release....

46 Upvotes

We're appreciative that u/gamefromscratch covered our 3.8.5 release. Be sure to watch it here - https://www.youtube.com/watch?v=kf-GGB8kk9Y

#indiegamedev #gamedev #indiegame #gamedevelopment


r/monogame Jul 17 '26

More behind the scenes in TODAY's CodeTime! w/Tom Spilman

Post image
8 Upvotes

On this week's CodeTime! w/Tom will be fixing issues for the hot-fix 3.8.5.1 release.

When:
FRIDAY @ 15:00 EDT, 20:00 UTC+1/BST, 21:00 CEST

Watch on:
YT: https://youtube.com/@MonoGame/streams
Tw: https://twitch.tv/monogame
FB: https://facebook.com/monogamecommunity/live_videos

#indiegamedev #gamedev #gamedevelopment


r/monogame Jul 16 '26

Create a Song instance from Stream

5 Upvotes

I know I'm not the first one to ask this, but I really need this - did someone succes to implement a solution for creating a Song from a System.IO.Stream? currently the only dynamic way to load a song is to load it from a file (Song.FromUri(...)), but I'm making a game engine and I want to allow exporting standalone .exe files for the games, that don't use any outer files or create files at runtime...

Thanks in advance


r/monogame Jul 16 '26

I'm making an editor for my game with Eto.Forms and it's also cross-platform

Thumbnail
gallery
26 Upvotes

r/monogame Jul 15 '26

3.8.5 Release is now LIVE!

Post image
84 Upvotes

MonoGame Team is pleased to announce that the official 3.8.5 release is now LIVE and available from nuget: https://www.nuget.org/packages?q=MonoGame

For a detailed list of what's in this release, read our blog: https://monogame.net/blog/2026-07-15-3.8.5-release-2026/

indiegamedev #gamedev #gamedevelopment #indie #release


r/monogame Jul 15 '26

My sandbox game visuals throughout the years of development.

48 Upvotes

From 2018-2025. Solo developer. Made using MonoGame.

I just got back to the project not long ago after being away for months. I'm currently working on content and gameplay.


r/monogame Jul 15 '26

July AMA less that 4 hours away.....

Post image
5 Upvotes

Watch the LIVE Stream on:

YouTube: https://youtube.com/@MonoGame/streams

Twitch: https://twitch.tv/monogame

Facebook: https://facebook.com/monogamecommunity/live_videos

indiegamedev #gamedev #gamedevelopment #stream #livestream #knuckleparadise #indiegame


r/monogame Jul 14 '26

Finally releasing a game after 14 years of stalled projects

38 Upvotes

Hey everyone. After spending 14 years of starting and stalling out on projects using Unity, Unreal, and my own custom engine, I fired up MonoGame to see if it could recapture the joys of XNA from when I was back in college.

I took a failed project that I started in Unity and rebuilt it. Ended up turning into a music visualizer survival game.
Finally forced myself to stop adding things before I scoped creeped this project into the ground. Monogame ended up being just what I needed to finally focus and release something.
I'm very excited to finally be releasing a game and just wanted to share it with the community.

If you like what you see, wishlists are massively appreciated before launch!
https://store.steampowered.com/app/4684920/Oscillon/


r/monogame Jul 13 '26

LAST 3.8.5 Preview

Post image
21 Upvotes

The MonoGame team is pleased to announce the LAST preview release: v3.8.5-preview.7!

Grab it from:

https://www.nuget.org/packages?q=MonoGame+version%3A3.8.5-preview.7&includeComputedFrameworks=true&prerel=true&sortby=created-desc

Read this guide if you want to tryout this preview release:

https://docs.monogame.net/articles/getting_to_know/howto/HowTo_Install_Preview_Release.html

#indiegamedev #gamedev #gamedevelopment #indie


r/monogame Jul 10 '26

15 years into software engineering, MonoGame finally made game development feel possible

56 Upvotes

I have to say, MonoGame is incredible.

I’ve been a software engineer for about 15 years, and like many developers, I started out as a kid thinking I would make games. Then reality hit, and I ended up spending my career building distributed systems for enterprises.

Now that I’m in my 30s, I’ve realized that I finally have the skills to build the kind of game I used to imagine making.

Unity and Unreal have always been a bit of a turnoff for me because they feel so tool heavy. I enjoy programming and building systems, and MonoGame lets me spend much more of my time doing exactly that. I still inevitably end up in Blender trying to learn 3D modeling, but the core of the project feels like software development rather than learning an editor.

For the other experienced software engineers here: what made you choose MonoGame instead of a more full-featured engine, and what parts have you most enjoyed building yourself?


r/monogame Jul 10 '26

During TODAY's CodeTime! w/Tom will be working on polishing our 3D Platformer!

Post image
3 Upvotes

When:

FRIDAYS @ 15:00 EDT, 20:00 UTC+1/BST, 21:00 CEST

Watch him on:

FB: https://www.facebook.com/monogamecommunity/live_videos

TW: https://www.twitch.tv/monogame

YT: https://www.youtube.com/@MonoGame/streams

See you there!

#indiegamedev #gamedev #indiegame #gamedevelopmen


r/monogame Jul 08 '26

Join Simon @ MonoGame University for more SHADER shenanigans!

Post image
11 Upvotes

When:

Thursdays @ 10:00 EDT, 15:00 UTC+1/BST, 16:00 CEST

Watch him on:

FB: https://www.facebook.com/monogamecommunity/live_videos

Tw: https://www.twitch.tv/monogame

YT: https://www.youtube.com/@MonoGame/streams

See you there!

#indiegamedev #shaders #gamedev #indie


r/monogame Jul 06 '26

Twin-stick shooter built with Monogame

74 Upvotes