GLFW VS MonoGame

Compare GLFW vs MonoGame and see what are their differences.

GLFW

A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input (by glfw)
Our great sponsors
  • Syncfusion - Rapidly build stunning web apps using Syncfusion Blazor UI components.
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
GLFW MonoGame
28 28
8,214 7,862
2.0% 1.8%
8.8 8.1
about 12 hours ago 8 days ago
C C#
zlib License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

GLFW

Posts with mentions or reviews of GLFW. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-13.
  • [Handmade Network] How to write better (game) libraries
    Even if someone wants to use VS2008 for game development, it only took me a Google search to find https://github.com/glfw/glfw/blob/master/deps/vs2008/stdint.h which doesn't have any dependencies and a very permissive licence.
  • how do i include glfw in my code to make a window?
    reddit.com/r/vscode | 2021-08-31
  • LibOS – Cross-platform OS features in C++
    reddit.com/r/cpp | 2021-08-23
    You seem to have had a similar impetus as I had 20 years ago when I created GLFW (though with a slightly different focus).
  • Is there a way to get japanese text input in raylib?
    reddit.com/r/raylib | 2021-08-23
    Thanks for the detailed explanation. I'm afraid I didn't considered that use case for raylib and it would require some investigation to implement it... but raylib uses internally GLFW for desktop platforms and I've seen there is a related issue: https://github.com/glfw/glfw/issues/41 About IME support by the browser, it should be investigated. Feel free to open an issue on raylib GitHub for further investigation!
  • Massive trouble with GLFW header inclusion. Can someone help?
    Looking at the actual code of the .h file, it looks pretty empty, and like it needs some extra files perhaps. For instance, functions are just filled with comments with some random explanations, so they are basically 1 line, which probably does nothing. Here you can take a look yourself on github.
  • Hey, I want start
    I would suggest using GLFW and Glad with C++ and use LearnOpenGL as a refrence
  • Compiling in MacOS M1 Chip (arm64)
    reddit.com/r/raylib | 2021-07-22
    Now I read the logs and it seems the issue is with GLFW. I've found this: https://github.com/glfw/glfw/issues/1805
  • Opengl(glfw) gears on termux x11 NO ROOT!!
    reddit.com/r/termux | 2021-07-19
    Clone the glfw repositiory - git clone https://github.com/glfw/glfw.git
  • 3D Visualization with C++
    Use https://www.glfw.org/ to get a window with an OpenGL context.
  • A better way of running Minecraft Without XWayland. Because I REALLY had nothing better to do with my life.
    https://github.com/glfw/glfw/pull/1725 (which is where I got some patches from) says there wasn't much upstream interest on merging the patches. But https://github.com/glfw/glfw/pull/1711 (the fix for the freezing issue) might be a good candidate for merging, though I don't know how GLFW people work, so I cannot comment on if it is properly upstreamable or not.

MonoGame

Posts with mentions or reviews of MonoGame. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-18.
  • Libraries for other languages similar to Ebiten?
    reddit.com/r/ebiten | 2021-10-18
    MonoGame (C#)
  • 2D Graphics „Engine“?
    reddit.com/r/csharp | 2021-09-25
    monogame
  • Making a 3d game from scratch with a code editor vs something like Unreal Engine.
    reddit.com/r/gamedev | 2021-09-20
    Alternatively, I think a good compromise for people who want more control over the inner workings of their game but don't want to use a full game engine is using a game framework like Monogame or Raylib. In our salad analogy, this is like buying a a good bag of lettuce, but growing your own toppings, dressings, etc.
  • I am looking for a new engine. Any suggestions?
    reddit.com/r/gamedev | 2021-09-15
    If you're cool with just writing code with no GUI environment, I'm a big fan of Monogame, especially when paired with the Nez library extension. Using Monogame by itself is fine and let's you do basically everything from scratch how you want it, but Nez gives you a strong foundation of basics handled for you without completely getting in your way, including an entity-component style workflow that you may be used to from Unity.
  • Where to start
    dev.to | 2021-09-07
    My second recommendation would be to start with C# and learn to make games with MonoGame. C# is a modern, easy-to-learn derivative of C++ that has a higher learning curve than Python. Again, once you have a good understanding of C#, you'll have an easy transition to Unity.
  • For the past three years, I've been finishing off a PC version of my game that never got released, and it's almost done. I'm just hoping for a couple of people to give it a go.
    Build Notes: v3.2.3.0 Built with MonoGame Runs in the Hazzah Engine, a custom engine we built from the ground up to run Voxel Games. Supports Gamepad. Supports Keybindings.
  • Switching away from Visual Studio windows form apps
    reddit.com/r/gamedev | 2021-06-25
  • Quick question from a relative newbie
    reddit.com/r/gamedev | 2021-06-23
    I think you would benefit from looking into a cross-platform framework such as Haxe or MonoGame, which both do the heavy lifting such as drawing to the screen and input management but leave the particulars of the system up to you. An example implementation of MonoGame to create a basic game system is Oyyou's tutorials on YouTube, a little rough around the edges but gives you a decent idea of how to use the framework to make games.
  • What programming language, library, etc should I use?
    reddit.com/r/gamedev | 2021-06-08
    You want a minimal library that gives you a solid base to implement your own systems, and also in C#? Probably the Monogame Framework. It's what games like Celeste, Fez, Stardew Valley, and Streets of Rage 4 were made using. If you want a few of the "standard" game engine systems pre-built but not to the same extent as something like Unity, most would recommend adding the Nez Framework as an accompaniment to Monogame.
  • Empty MonoGame app just doesn't launch but there are no errors
    reddit.com/r/monogame | 2021-06-04
    Don’t know enough about M1 and don’t have access to one. You may have more luck posting a GitHub Issue with whatever info you can gather.

What are some alternatives?

When comparing GLFW and MonoGame you can also consider the following projects:

bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

SDL - Simple Directmedia Layer

Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

OpenSceneGraph - OpenSceneGraph git repository

Raylib-cs - C# bindings for raylib, a simple and easy-to-use library to learn videogames programming

glad - Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.

Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)

Stride Game Engine - Stride Game Engine (formerly Xenko)

CocosSharp - CocosSharp is a C# implementation of the Cocos2D and Cocos3D APIs that runs on any platform where MonoGame runs.

Nez - Nez is a free 2D focused framework that works with MonoGame and FNA

Wave Engine - This repository contains all the official samples of WaveEngine.

FNA - FNA - Accuracy-focused XNA4 reimplementation for open platforms