Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀. Learn more →
Top 23 C# Gamedev Projects
Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanicsProject mention: Ask HN: What weird technical scene are you fond/part of? | news.ycombinator.com | 2022-11-21
Craig Reynolds said the name "Boids" was inspired by The Producers Concierge scene, so that's how you should pronounce it:
Boids. Dirty, disgusting, filthy, lice ridden Boids. Boids. You get my drift?
The other really cool rabbit hole to explore for generating tiles and even arbitrary graph based content (I'm sold: hexagons are the bestagons!) is "Wave Function Collapse", which doesn't actually have anything to do with quantum mechanics (it just sounds cool), but is actually a kind of constraint solver related to sudoku solvers.
Maxim Gumin's work: https://github.com/mxgmn/WaveFunctionCollapse
Paul Merrell's work:
Oskar Stålberg's work:
There's a way to define cellular automata rules by giving examples of the before and after patterns, and WFC is kind of like a statistical constraint solving version of that.
So it's really easy for artists to define rules just by drawing! Not even requiring any visual programming, but you can layer visual programming on top of it.
That's something that Alexander Repenning's "AgentSheets" supported (among other stuff): you could define cellular automata rules by before-and-after examples, wildcards and variables, and attach additional conditions and actions with a visual programming language.
AgentSheets and other cool systems are described in this classic paper: “A Taxonomy of Simulation Software: A work in progress” from Learning Technology Review by Kurt Schmucker at Apple. It covered many of my favorite systems.
Chaim Gingold wrote a comprehensive "Gadget Background Survey" at HARC, which includes AgentSheets, Alan Kay's favorites: Rockey’s Boots and Robot Odyssey, and Chaim's amazing SimCity Reverse Diagrams and lots of great stuff I’d never seen before:
Chaim Gingold has analyzed the SimCity (classic) code and visually documented how it works, in his beautiful "SimCity Reverse Diagrams":
>SimCity reverse diagrams: Chaim Gingold (2016).
>These reverse diagrams map and translate the rules of a complex simulation program into a form that is more easily digested, embedded, disseminated, and and discussed (Latour 1986).
>The technique is inspired by the game designer Stone Librande’s one page game design documents (Librande 2010). If we merge the reverse diagram with an interactive approach—e.g. Bret Victor’s Nile Visualization (Victor 2013), such diagrams could be used generatively, to describe programs, and interactively, to allow rich introspection and manipulation of software.
>Latour, Bruno (1986). “Visualization and cognition”. In: Knowledge and Society 6 (1986), pp. 1– 40. Librande, Stone (2010). “One-Page Designs”. Game Developers Conference. 2010. Victor, Bret (2013). “Media for Thinking the Unthinkable”. MIT Media Lab, Apr. 4, 2013.
Agentsheets: Alexander Repenning (1993–)
Interacting agents are embedded and interact within
One framework for creating powerful cross-platform games.Project mention: Which game engine should i use for 2D games? | reddit.com/r/gamedev | 2022-11-20
MonoGame is a great way to make 2D games. It's not an authoring tool and depending on what you want to do a fully fledged game engine may be a better choice, but "I want to make a 2D, point me to an engine" is very unspecific. If you could eloborate more what you want to do, the suggestion would also be more profound. Game Engines are just tools and choosing one over another is not something a beginner should really care about that much. But I bet, using MonoGame will be a great learning experience, boost your programming skills and switching to a game engine later will be easier than the other way around.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Stride Game Engine (formerly Xenko)Project mention: Brought to you by an Electrical Engineer | reddit.com/r/ProgrammerHumor | 2022-10-10
2D skeletal animation runtimes for Spine.Project mention: Best programs for 2D art assets? | reddit.com/r/gamedev | 2022-11-21
There's Spine for skeletal animations
Unreal Engine .NET 6 integrationProject mention: C# | reddit.com/r/ProgrammerHumor | 2022-10-12
FNA - Accuracy-focused XNA4 reimplementation for open platformsProject mention: FNA 22.12 is out | reddit.com/r/linux_gaming | 2022-12-02
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.
Pixel Vision 8's core philosophy is to teach retro game development with streamlined workflows. PV8 is also a platform that standardizes 8-bit fantasy console limitations built on top of the open-source C# game engine based on MonoGame.
a 2D Game Development FrameworkProject mention: I want to make 2D games as a hobby. But I've noticed that easy engines like Gamemaker have their own meme little languages. Is there a popular and simple 2D language that uses an actual programming language like Python or something? | reddit.com/r/gamedev | 2022-04-21
Something a little different, you could try https://adamslair.github.io/duality/ a game engine built using c#. Has a visual editor too.
A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!Project mention: Is there a way to learn how to use SadConsole? | reddit.com/r/roguelikedev | 2022-02-09
The process I am using for learning version 9 is to download, run and modify the sample projects. It's a brute force approach, but I am already pretty comfortable with C# and Visual Studio.
A small-scale cooperative game sample built on the new, Unity networking framework to teach developers about creating a similar multiplayer game.Project mention: Unity Multiplayer | reddit.com/r/unity | 2022-11-16
Generic C# GOAP (Goal Oriented Action Planning) library with Unity3d examplesProject mention: Noob trying to create flexible AI workers | reddit.com/r/Unity3D | 2022-07-01
You might want to look into Goal-Oriented Action Planning (GOAP). Example implementation with plenty of resources can be found here.
.NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.Project mention: Seriously WTF C++? | reddit.com/r/ProgrammerHumor | 2022-09-09
There are quite a lot actually, even if we ignore engines and frameworks (though some of them are quite low level). Some of the biggest are Silk.NET, Vortice.Windows, SharpDX (the last one is dead but it still should work well).
Lightweight C# networking solution for multiplayer games.Project mention: Netcode help | reddit.com/r/Unity3D | 2022-08-07
if you wanted to setup a dedicated server I'd recommend Tom Weilands Small tutorial series on how to connect clients to a dedicated server using a solution called riptide, if you wanted to use your PC at the same time as clients connected I'd recommend looking at the unity demo in the github repository below aswell. https://youtu.be/6kWNZOFcFQw https://github.com/tom-weiland/RiptideNetworking
UI Library for MonoGame, FNA and Stride
Entity Component System framework aiming for syntax and usage simplicity with maximum performance for game development.
C# bindings for raylib, a simple and easy-to-use library to learn videogames programmingProject mention: Need help with converting C++ to C# | reddit.com/r/imgui | 2022-10-06
I'm converting rlImGui from C++ to C# so I can use it with ImGui.NET and Raylib-cs but I'm getting stuck at a couple places. I don't know how to convert line 331 to C# since in ImGui.NET cmd.UserCallback is an IntPtr and not something I can call. I did a quick google search and you can use the Marshal library to convert it to a callable delegate but I think you need to also have the delegate known to do that. There's also line 82 but that is specific to Raylib. The function it calls does not seem to be included in Raylib-cs. Also, rlImGui keeps using a Texture type but that is not defined in Raylib-cs or ImGui.NET. I assume I can substitute it with Texture2D from Raylib-cs but I'm not to the point in porting to see if Texture2D has the necessary fields/properties/methods.
Play Twine stories in Unity.Project mention: Twine is an open-source tool for telling interactive, nonlinear stories | news.ycombinator.com | 2022-09-10
Twine is nice, I am using it to create the story for a game with visual novel elements in Unity.
I'm using a heavily modified version of Cradle and it works great.
However, I personally had a bad experience while trying to contribute to Twine. I encountered a severe bug that made me lose all my stories and only happens if you have Twine in another language than English. I read the code, identified the issue, wrote a detailed issue and sent a PR. I got no answer until a year later saying "not applicable anymore" since the app basically got a rewrite.
At least I'm happy a lot of it got rewritten however it still seems as unstable as before, with random crashes and stories that can disappear on their own.
Lightweight toolset for creating concurrent networking systems for multiplayer gamesProject mention: I want to make a simple enemy health system for a game. Should I create an interface in C# for it? | reddit.com/r/csharp | 2022-09-15
Yeah I've used https://github.com/nxrighthere/NetStack for networking serialization, it's slick and what I'd use if it were multiplayer, I almost started implementing it here but after just compressing it was good enough for this project.
Ink integration for Godot Engine.Project mention: "Ticket to Europe" - a game we've made in Godot, raising awareness of the refugee crisis in Europe, has been just approved on Steam. I'm curious, what do you think! | reddit.com/r/godot | 2022-07-31
Did you use ink (via godot-ink or similar) to author the visual novel? Or some other interactive fiction tool? Or something entirely custom?
Houses various game development tutorials and resources.
RE:SS3D the game, another remake of SS13, but with an extra D.Project mention: This will be Space Station 13 in 2012. | reddit.com/r/SS13 | 2022-09-14
You mean https://ss3d.space/ ?
Real-Time Corruptor, Vanguard, CorruptCore, NetCore2 https://redscientist.com/rtcProject mention: is there an app that can corrupt files | reddit.com/r/software | 2022-11-08
Use Real Time Corruptor's Filestub. You can corrupt any file you want and you can control how corrupt you want it to be.
Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.
C# Gamedev related posts
FNA 22.12 is out
1 project | reddit.com/r/linux_gaming | 2 Dec 2022
FNA 22.12 is out
1 project | reddit.com/r/Boiling_Steam | 2 Dec 2022
Which game engine should i use for 2D games?
1 project | reddit.com/r/gamedev | 20 Nov 2022
Snakes and ladders
1 project | reddit.com/r/csharp | 16 Nov 2022
RockSmith File Format for CDLC / .psarc
7 projects | reddit.com/r/rocksmith | 15 Nov 2022
Are there any algorithms to construct all possible closed loops with Truchet Tiles for a given n with n x n tiles? (n even)
1 project | reddit.com/r/proceduralgeneration | 12 Nov 2022
is there an app that can corrupt files
1 project | reddit.com/r/software | 8 Nov 2022
A note from our sponsor - Scout APM
scoutapm.com | 2 Dec 2022
What are some of the best open-source Gamedev projects in C#? This list will help you:
|4||Stride Game Engine||4,228|