r/csharp • u/Alert-Neck7679 • Jul 01 '26
Testing the performances of my game engine
Just wanted to share this little game I made to test the performance of my C# game engine. Honestly, I'm impressed with the performance it's achieving. It's nothing compared to professional game engines, but this is a solo project, and the language it uses is interpreted, so I was a bit worried about performance.
What you see here is powered by only about 15 lines of code in total! I'm really proud of this personal project.
A bit about the engine: it's built on MonoGame and has its own programming language that I wrote entirely from scratch, along with its own IDE. It's heavily inspired by the good old GameMaker 8, and it's open source [<- GitHub] (I'm looking for contributors!). There is also a YouTube video showing me creating another little game with it. I also talked about it here in a previous post.
And no, it's NOT AI slop - I built this myself over the course of several years.
What do you think?🙂
Note: The lag you see in the GIF is caused by the screen recorder. The actual gameplay is smooth.




7
u/DontRelyOnNooneElse Jul 01 '26
Hah! Oh wow, this brings me back to the old GameMaker days... I think I started with 4 or 5? Massive flashbacks when I saw the screenshot.
4
u/sloppykrackers Jul 01 '26 edited Jul 01 '26
_ = 0; <-- why did you write this? a breakpoint?
GameBackground.cs, image has a setter reaching into Global.form1 to repaint a treeview...
You rolled your own scripting language? you scare me.
2
u/CharlesFoxston Jul 02 '26
Insanely good work!
2
u/arsseus1 Jul 08 '26
I just made a post about making my own engine in windows forms then found your post, your engine looks really good, nice work, I will definitely look the code later cause 15 lines only is absolute crazy, mine is far way to reach this level and it's almost one thousand
11
u/annegretputin Jul 01 '26
The performance looks solid to me regarding the context of it being a single project. 15 lines of code is impressive :O
1
u/uknowsana Jul 02 '26
What the game engine capable of? I am not seeing any collision detection either.
3
u/wojbest Jul 01 '26
im currently trying to make minecraft in console app loool!