Welcome to the official SFML.Net documentation. Here you will find a detailed
description of all the SFML.Net classes.
If you are looking for tutorials, help or whatever, you can visit the official website
at www.sfml-dev.org.
Here is a short example in C#, to show you how simple it is to use SFML.Net :
using System; using SFML.Audio; using SFML.Window; using SFML.Graphics; namespace Example { class Program { static void OnClose(object sender, EventArgs e) { // Close the window when OnClose event is received RenderWindow window = (RenderWindow)sender; window.Close(); } static void Main(string[] args) { // Create the main window RenderWindow app = new RenderWindow(new VideoMode(800, 600), "SFML window"); app.Closed += new EventHandler(OnClose); // Load a sprite to display Image image = new Image("cute_image.jpg"); Sprite sprite = new Sprite(image); // Create a graphical string to display Font arial = new Font("arial.ttf"); String2D text = new String2D("Hello SFML.Net", arial); // Load a music to play Music music = new Music("nice_music.ogg"); music.Play(); // Start the game loop while (app.IsOpened()) { // Process events app.DispatchEvents(); // Clear screen app.Clear(); // Draw the sprite app.Draw(sprite); // Draw the string app.Draw(text); // Update the window app.Display(); } } } }