C# Gamedev

Open-source C# projects categorized as Gamedev

Top 23 C# Gamedev Projects

  • WaveFunctionCollapse

    Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics

    Project mention: It's Okay to Make Something Nobody Wants | news.ycombinator.com | 2023-09-23

    Thank you! And yes, I agree. I was looking at uh https://github.com/mxgmn/WaveFunctionCollapse and wondering if that were applicable here :)

    Have a good day!

  • MonoGame

    One framework for creating powerful cross-platform games.

    Project mention: The MonoGame Foundation launch | /r/monogame | 2023-11-15

    To highlight this shift, we are introducing a new website which is now fully automated with Github. The paint is still fresh, but we hope to expand it with more information about the MonoGame Foundation, like how it operates, and how to join it or contribute.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • Entitas

    Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

  • MarkovJunior

    Probabilistic language based on pattern matching and constraint propagation, 153 examples

    Project mention: Making some Wave Function Collapse for Grasshopper, WIP. 3d overlapping model. Need a way to work out conflicts better. | /r/proceduralgeneration | 2023-04-06

    Our of curiosity, have you seen MarkovJunior, from the same developer? It's a generalization of WFC into a far more powerful probabilistic programming language capable of not only assembling random maps, but even generating solveable Sokoban levels?

  • Stride Game Engine

    Stride Game Engine (formerly Xenko)

    Project mention: 🗨️ Join the Stride Conversation on GitHub! | /r/stride3d | 2023-10-07
  • FlaxEngine

    Flax Engine – multi-platform 3D game engine

    Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11

    Flax (MIT/C++) https://github.com/FlaxEngine/FlaxEngine

  • spine-runtimes

    2D skeletal animation runtimes for Spine.

    Project mention: What kind of animation is this? | /r/animation | 2023-07-11

    There are a bunch of programs that use rigged and meshed 2D images that create these sorts of animations. I have only used “Spline” for game animation http://esotericsoftware.com/

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • UnrealCLR

    Unreal Engine .NET 6 integration

    Project mention: Since you're asking yes u can use C# in unreal | /r/Unity3D | 2023-09-18
  • FNA

    FNA - Accuracy-focused XNA4 reimplementation for open platforms

    Project mention: FNA 23.12.07 Hotfix | /r/linux_gaming | 2023-12-08
  • YarnSpinner

    Yarn Spinner is a tool for building interactive dialogue in games!

    Project mention: Dialogue system with scriptable objects | /r/Unity3D | 2023-05-30

    Another option if you don't want to implement it yourself though is to use an already built library. I've been playing with YarnSpinner a little bit recently and I'm liking it so far. I can't give much more details than that, but it's maybe worth a look. At least for some reference.

  • com.unity.multiplayer.samples.coop

    A small-scale cooperative game sample built on the new, Unity networking framework to teach developers about creating a similar multiplayer game.

    Project mention: So How do I set up Multiplayer in my 2D game? | /r/unity | 2023-07-08

    Have a look at https://www.photonengine.com/# Or the "new" built in thing from unity itself https://docs-multiplayer.unity3d.com/ (on the last link you find an example project "boss room" that shows how to implement multiplayer. When playing over the internet, you must "just" specify the correct host)

  • Duality

    a 2D Game Development Framework

  • SadConsole

    A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!

    Project mention: How can I get a 1:1 sized font? | /r/roguelikedev | 2023-05-04

    Since you're already working in C#, there's a library called SadConsole that does this. It relies on either MonoGame or SFML to actually render to the screen, though. If you're not using either of those, the source may give you some ideas on how to implement such a grid of tiles yourself. There are of course other libraries that do this, but SadConsole is the first that I could remember in C#.

  • Riptide

    Lightweight C# networking solution for multiplayer games.

  • ReGoap

    Generic C# GOAP (Goal Oriented Action Planning) library with Unity3d examples

  • Vortice.Windows

    .NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.

  • ConvChain

    Bitmap generation from a single example with convolutions and MCMC

    Project mention: The Wavefunction Collapse Algorithm explained clearly | news.ycombinator.com | 2022-12-20

    As others have mentioned, this is "just" constraint propagation. I think much of the success is that it's a simple idea to grasp and implement, that provides very good results, and has a compelling name. I don't want to be dismissive, I think it's very cool.

    The original author of "wave function collapse" also has "convchain" [0] which is similarly "just" using Monte Carlo Markov Chains to sample the space. It's also a kind of "staple" algorithm for physicists, theoretical computer scientists, etc but I guess hasn't caught on as much as WFC.

    Note that WFC has major problems when the tile set is too constrained. There's a SO question about it [1] and I also happen to have written a small article about it as well [2]().

    [0] https://github.com/mxgmn/ConvChain

    [1] https://stackoverflow.com/questions/72721299/why-can-the-wav...

    [2] https://www.fxhash.xyz/article/lessons-learned-from-implemen...

    () trigger warning, it's an NFT but please don't let that stop you from reading

  • UnityHFSM

    A simple yet powerful class-based hierarchical finite state machine for Unity

    Project mention: Dear Reddit members, could you recommend a YouTube or something that makes TopDown Boss Monster? | /r/Unity2D | 2023-12-07

    I used this video https://www.youtube.com/watch?v=jnETyJUiCiM which uses this state machines https://github.com/Inspiaaa/UnityHFSM/. It is very informative and i like how in the video you use colliders to trigger different states.

  • TexturePanner

    This repository hosts a shader for Unity3D whose main goal is to facilitate the creation of neon-like signs, conveyor belts and basically whatever based on scrolling textures

    Project mention: I have many monitors in my game, but they look boring to me. Anyone know of any tricks/shaders to make them stand out more, and look more sci-fi? Using Unity. | /r/gamedev | 2023-01-19
  • Myra

    UI Library for MonoGame, FNA and Stride

  • DefaultEcs

    Entity Component System framework aiming for syntax and usage simplicity with maximum performance for game development.

  • Raylib-cs

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

    Project mention: How do I get started with Raylib? | /r/raylib | 2023-06-23
  • Arch

    A high-performance C# based Archetype & Chunks Entity Component System (ECS) with optional multithreading.

    Project mention: Does it still make sense to roll your own ECS? | /r/gameenginedevs | 2023-07-31

    For C#, I've found Arch, which looks pretty much like what I need. I would use it with MonoGame.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-08.

C# Gamedev related posts


What are some of the best open-source Gamedev projects in C#? This list will help you:

Project Stars
1 WaveFunctionCollapse 22,132
2 MonoGame 10,362
3 Entitas 6,665
4 MarkovJunior 6,346
5 Stride Game Engine 5,846
6 FlaxEngine 5,160
7 spine-runtimes 4,012
8 UnrealCLR 2,959
9 FNA 2,440
10 YarnSpinner 2,129
11 com.unity.multiplayer.samples.coop 1,397
12 Duality 1,372
13 SadConsole 1,142
14 Riptide 933
15 ReGoap 924
16 Vortice.Windows 892
17 ConvChain 717
18 UnityHFSM 705
19 TexturePanner 682
20 Myra 635
21 DefaultEcs 600
22 Raylib-cs 591
23 Arch 536
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives