logoalt Hacker News

KronisLV • yesterday at 2:56 PM • 1 reply • view on HN

Godot, Unity, Stride, Flax and even jank niche engines like NeoAxis generally have pretty good C# integration!

If you look more at Stride, you’ll see that even their physics engine is C# which is insane in the best possible way: https://doc.stride3d.net/4.3/en/Manual/physics/index.html and https://github.com/bepu/bepuphysics2

Very cool language and as much of a mainstay in gamedev like something like Lua.

It surprises me that Java never got similarly big despite their GC improvements, though jMonkeyEngine was a nice project last I looked.


Replies

torginus • yesterday at 3:35 PM

Yeah there are some gamedev treasures in C#, owning to the fact that Microsoft created the Xbox Live Indie Games program back in the X360 era, which meant you could ship games to customers with generally little oversight and meddling - this was WAY before Steam did something similar, and even before the iPhone app store.

The catch was that you had to use C# and XNA (which was a wrapper for gaming related APIs like DirectX, XAudio and XInput, generally considered to be very good). This meant there were a lot of hardcore libs made for C# gamedev (BEPU physics is from that era, and there were things like very good UI frameworks).

Tons of games were made with XNA, and its open source ofshoots, MonoGame and FNA power some of the greatest indie hits (Stardew Valley, Celeste, Bastion and other Supergiant titles, Terraria come to mind).

Imo this is one of the main reasons Unity went with C# in the first place.

➕ show 1 reply