sdl.cs
This is a my personal fork of https://github.com/panopticoncentral/sdl-sharp, feel free tho to make PRs against this repo if you so choose to use it :)
The sdl.cs 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.cs in your project using the sdl.cs NuGet package.
Branch | Status |
---|---|
develop |
Tutorial
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 |