Skip to content

MrScautHD/Raylib-CSharp

Repository files navigation

Logo

Raylib-CSharp 🚀

Discord License Activity Stars

Raylib-CSharp is a fully managed binding over Raylib-5.1-dev.


🪙 Installation - Nuget

dotnet add package Raylib-CSharp --version 4.1.2

📖 [Installation - From source]

  1. Clone this repository.
  2. Add Raylib-CSharp.csproj as a reference to your project.
  3. Ensure that you integrate the CMake.props file into your project setup to facilitate the building process for the .dlls.

💻 Platforms

windows

Windows

  • Using OpenGL-4.3

Linux

Linux

  • Using OpenGL-4.3

macOS

MacOS

  • Using OpenGL-3.3

🧑 Contributors

✉️ Reach us

discord sponsor


📖 Differences from Raylib-cs

Raylib-cs Raylib-CSharp
One Binding Class (Raylib.cs). Managed Classes like Window, Music....
Uses DllImport and makes using pointers required in some cases. Uses LibraryImport and using pointers is optional.
Using one Namespace. Using multiple Namespaces!
.NET 5.0, 6.0 / C# 10 .NET 8.0 / C# 12
Released 2018-07 Released 2024-05
License ZLib License MIT
Raylib 5.0 Raylib 5.0

✍️ Acknowledgement

This library is available under the MIT license.

Special thanks to the author(s) and contributors of the following projects