An SDL wrapper library for .NET.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ian Burgmyer bfc43b9463 Major work on Canvases and Sprites. 5 years ago
DotSDL Major work on Canvases and Sprites. 5 years ago
Samples Major work on Canvases and Sprites. 5 years ago
.gitattributes Add .gitignore and .gitattributes. 7 years ago
.gitignore Add .gitignore and .gitattributes. 7 years ago
DotSDL.sln WIP: Sprite support. 6 years ago
DotSDL.sln.DotSettings Added "Beziér" to Rider/R#'s dictionary. 5 years ago
LICENSE.txt Started the project; began importing library functions. 7 years ago
README.md Updated README. 6 years ago

README.md

DotSDL

DotSDL is a .NET Standard library designed to allow easy access to the SDL2 library using either the .NET Framework or .NET Core.

Unlike SDL2#, DotSDL is not a direct SDL wrapper. It attempts to add some additional functionality to make writing SDL applications easier.

Current Features

At this time, DotSDL supports the following features:

  • Audio
    • Support for all audio formats supported by SDL.
    • Full upmixing and downmixing for mono, stereo, and quadraphonic audio.
      • 5.1 audio is supported, but upmixing and downmixing support for it is currently limited.
  • Input
    • Keyboard input.
    • Window events.
  • Graphics
    • A single 32-bit ARGB canvas (useful for pixel plotting).
  • Power
    • Battery state.

How To Use DotSDL

DotSDL is currently under heavy development and, as such, doesn't have much in the way of documentation. Currently, the best way to use it is to look over the sample/test projects and to read over the XMLDocs on the classes and methods.

If you would still like to play around with DotSDL, the project can be built using the .NET Core SDK or any IDE that support .NET Standard projects. You will also need a native SDL2 library for each architecture that you plan to build your project against.