C # and SDL - Do end users require SDL?

I am thinking about if I should try SDL as an alternative to DirectX, it seems that I am only creating 2D games, however I cannot find anywhere if SDL needs to be installed on the end users computer in order to play a game developed in C #. using SDL for graphics.

Somebody knows?

+2


source to share


1 answer


Assuming you are using something like:

SDL.NET

The end user should have the SDL libraries / binaries on their machine, however they do not need to manually install the SDL themselves. You can redistribute the SDL binaries yourself as part of your own game installer.



The SDL itself (not SDL.NET) license even allows you to "statically" link the SDL source code right into your own source code. From the SDL Licensing FAQ :

Q: What license does SDL use?
A: SDL is freely available under the GNU LGPL license and can be used in both commercial and commercial applications.

Q: Can I use SDL in a commercial application?
A: Yes! If you are linking dynamically (via .dll, .so, or using other dynamic linkers) then you don't need to do anything. If you link statically (including the SDL Source within your project when you compile), you must provide some so that your client can application with a custom version of the SDL. Details are available at: http://www.libsdl.org/license.php

The absolute beginner's guide to SDL.NET will give you a list of required libraries, both from SDL.NET (the .NET "wrapper") and SDL itself.

+3


source







All Articles