Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 2.55 KB

README.md

File metadata and controls

39 lines (31 loc) · 2.55 KB

SDL2.NET

This library is largely untested!

But most of SDL's features are implemented and stable! I invite you to use it, test it out, and perhaps even do a couple of PRs!

Please read the Installation Docs

Refer to SDL2.NET Tests for an example on how to use this library

Bringing SDL2 into .NET with its code styles and best practices. Based on https://github.com/flibitijibibo/SDL2-CS (and/or https://github.com/ppy/SDL2-CS) and forked from https://github.com/DoogeJ/SDL2Example There are probably a lot of beginner mistakes in this; feel free to point them out to me.

Library project MIT License. All used external libraries, binaries, resources under their respective licenses as listed here or stored in the lib folder.

Requirements:

A Request!

  • Anyone with experience developing interoping apps with C#, I'd be very thankful for a solution for, or help in solving the issue of including SDL's binaries for other platforms into the library as well -- potentially in a form that would allow for multiple NuGet packages?

Hints and tips:

  • Check the comments in SDL2Example.csproj
  • If you use VS Code, set the program path in launch.json to the executable (not dll), for example ${workspaceFolder}/bin/Debug/net6.0/SDL2Example.exe or external resources will not load properly when debugging

Learning resources:

Binary sources:

Library sources: