SharpSDL3

Good afternoon, and thank you for taking the time to read this!

My name is Adonis and I have been making a C# library that wraps around SDL3. I know there are other libraries out there that do the exact same thing as I do; however, what I’ve noticed is that there is no real wrapping going on, just exposing the calls directly instead of properly wrapping function calls to be handled in the C# library itself. My goal is to create an optimized library that basically holds the developer’s hands, as well as simplifying their code base by checking for any issues before the SDL library is called upon.

At this moment in time, there is not a lot of documentation, but I would love to have contributors on board to help really make this library easy to work with for beginner developers, as well as seasoned veterans of the sort.

My repo is currently at GitHub - Blizzardo1/SharpSDL3: A Modern SDL Library written in C# to produce wonderful applications for Android, iOS, Linux, Mac OS, Windows, and other .NET capable platforms..

Come one, come all. The library should be readily available for those that want to adventure into the depths of SDL on a C# level. Currently, there are no binaries available, I plan eventually to have them released. For now, it’s source only.

I also would need some help with creating documentation for each available function that closely resembles the original SDL docs that also would link to SDL’s page on that particular function to really make it easy to work with.

Would it be possible to have this on SDL’s main site under the languages section?

All the best,

Adonis (Blizzardo1)

Typically we wait until a language binding is officially released before adding it to the website. Feel free to announce it here when that happens.

Careful now, you’re getting close to game engine territory

I used SDL for C# in the past, what I wanted is something that was very close to C’s API so I could just look at the C documentation (and I already knew the C API at the time). The reason the wrappers do nothing else is likely because most people don’t want anything else.

It will have many uses, not just for game engines. My purpose is for game engines; however, I’ve seen SDL used for many other things like Terminals. With C#, or as Thor has said, C++++, I plan on using this variant of the library for more than just GEs, but in the meantime, any help is greatly appreciated. <3

The Release Binary is available. I’m currently working on refining API documentation in the meantime. Please open an issue if something is not working correctly and I will get working on it.

I know it’s not perfect yet, but I’m trying my best to provide something I believe can help fellow C# devs out there.

Thank you