SFML.Net is the official binding of SFML for the .Net language family (C#, VB.Net, C++/CLI, etc.). It is built on top of the C binding, CSFML, to ensure maximum compatibility across platforms (i.e. it works with Mono). The API of SFML.Net is close to the C++ one, but in the .Net style: naming conventions are different, event handling uses native event support, etc. So don't hesitate to have a look at the API documentation and at the provided examples, before posting questions on the forum.
Since the SFML.Net API is similar to SFML, there's no tutorial for it; but you can follow the C++ tutorials available on this website, and adapt them to your preferred .Net language very easily. The API documentation, generated from the source code, is available and included in the downloadable packages below.
The following archives contain everything that you need in order to work with SFML.Net: libraries, dependencies, examples and documentation.
Since it's a .Net library, there's only one archive per architecture, which works for any OS and compiler. However, since the name of CSFML libraries appear in the source code, and are different on each OS, for OS X and Linux you will have to write a special configuration file which maps the names of the CSFML DLLs to the names of the corresponding CSFML shared libraries on your OS (for example, "csfml-graphics-2.dll" -> "libcsfml-graphics.so.2"); see the Mono documentation for more details.
The provided dependencies are also for Windows only; on other OSes, you have to install the required dependencies (CSFML, SFML and its own dependencies) yourself.
The SFML.Net repository can be found at github.com. From there, you can download the current source code (which contain the sources of the examples). You can also watch the open issues on the task tracker, or add new ones.
|All||All compilers - 32-bitDownload2.63 MB||All compilers - 64-bitDownload2.66 MB|
|Source codeDownload2.70 MB|
|All||All compilers - 32-bitDownload2.43 MB||All compilers - 64-bitDownload2.62 MB|
|Source codeDownload2.69 MB|