The SDL# library is a .NET wrapper around the Simple DirectMedia Layer (SDL) library, a cross-platform graphics, audio, and input library. It provides both a set of low-level APIs that enables calling most SDL APIs directly, and a set of high-level object-oriented classes that abstracts working with the SDL API in a more .NET-friendly way.
You can include SDL# in your project using the SDLSharp NuGet package.
| Branch | Status |
|---|---|
| master |
The following are walkthroughs that show off various aspects of SDL and SDL#. ALl code can be found in a single solution in the Tutorial source subdirectory.
NOTE: All tutorials assume a working knowledge of C#.
| Number | Title | Description |
|---|---|---|
| 1 | Hello, World! | Setting up the environment and creating your first SDL window |
| 2 | Event Driven Programming | Responding to events and input |
| 3 | Drawing on the Screen | Drawing on the screen |
| 4 | Working with Images | Working with different image formats |
| 5 | Hardware Acceleration | Using graphics hardware to speed up drawing |
| 6 | Drawing | Other drawing primitives |
| 7 | Sprites | Working with sprites |